Dear friends of the forum
how to display a message or trigger an action to select a cell in XBROWSE with just one click, no double click or right click
I have developed a pattern of weekly visits and each visit is, clearly be seen.
And I have sought ways to do this and I could not, no one has done something like that I made a thread.
FWH 9.06, xHarbour
regards
Cells on xBrowse
Cells on xBrowse
_ A. Martinez
http://www.multisofthn.com
Honduras, Centro America
xHarbour Enterprise 1.2.2, Fivewin 13.06
http://www.multisofthn.com
Honduras, Centro America
xHarbour Enterprise 1.2.2, Fivewin 13.06
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Cells on xBrowse
Have you tried bLClicked?
James
James
Re: Cells on xBrowse
James, Brief precise and concise!
To know which row guided me to the current record, but as I find out which column was clicked?
With a right click have the bRClickData in each column.
A Greeting from Honduras
To know which row guided me to the current record, but as I find out which column was clicked?
With a right click have the bRClickData in each column.
A Greeting from Honduras
_ A. Martinez
http://www.multisofthn.com
Honduras, Centro America
xHarbour Enterprise 1.2.2, Fivewin 13.06
http://www.multisofthn.com
Honduras, Centro America
xHarbour Enterprise 1.2.2, Fivewin 13.06
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Cells on xBrowse
Try:
oBrw:bLClicked:= {| nRow, nCol, nFlags| msgInfo( nCol ) }
Regards,
James
oBrw:bLClicked:= {| nRow, nCol, nFlags| msgInfo( nCol ) }
Regards,
James
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Cells on xBrowse
Code: Select all
oBrw:bLClicked:= {| nRow, nCol, nFlags| MyFunc( nCol ) }
Code: Select all
function MyFunc( nColPix )
local nCol, oCol
nCol := oBrw:MouseColPos( nColPix ) // nCol is the number of displayed column
oCol := oBrw:ColAtPos( nCol ) // Column object on which clicked
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Cells on xBrowse
Thanks friends
the nCol is the current position based on the current display columns.
There will have to make a calculation that pretended to jump, to find the field in the table to see.
Thanks for your time, it's bLClicked has been very helpful
A Greeting from Honduras
the nCol is the current position based on the current display columns.
There will have to make a calculation that pretended to jump, to find the field in the table to see.
Thanks for your time, it's bLClicked has been very helpful
A Greeting from Honduras
_ A. Martinez
http://www.multisofthn.com
Honduras, Centro America
xHarbour Enterprise 1.2.2, Fivewin 13.06
http://www.multisofthn.com
Honduras, Centro America
xHarbour Enterprise 1.2.2, Fivewin 13.06
-
- Posts: 1102
- Joined: Mon Oct 17, 2005 5:41 am
- Location: Belgium
- Contact:
Re: Cells on xBrowse
Try
Regards,
Marc
Code: Select all
nCol := oBrw:ColAtPos( oBrw:nColSel ):nCreationOrder
Marc
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Cells on xBrowse
what we need to know is on which column of the browse the user clicked.
method MouseColPos( nColPixelClicked ) --> nCol clicked
oBrw:ColAtPos( oBrw:MouseColPos( nColPixelClicked ) ) --> oCol clicked
method MouseColPos( nColPixelClicked ) --> nCol clicked
oBrw:ColAtPos( oBrw:MouseColPos( nColPixelClicked ) ) --> oCol clicked
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India