I noticed a problem with the xBrowse-keyboard usage
I need the row- and column-position on cell-change using the keyboard
On mouseclick no problem.
The screenshot shows the problem
moving inside the SAME row to the next cell, the column-no. is not updated
Only changing the rowposition after the change it works. ( picture 2 and 3 )
tested with ON CHANGE and
oBrw:bPainted := < |hDC|
Code: Select all
@ 5, 30 SAY oSay[1] PROMPT "Row : " + LTRIM(STR(nRowPos)) SIZE 40, 10 ;
PIXEL COLOR 0, 12124088 FONT oFont OF oDlg
@ 5, 90 SAY oSay[2] PROMPT "Column : " + LTRIM(STR(nColPos)) SIZE 60, 10 ;
PIXEL COLOR 0, 12124088 FONT oFont OF oDlg
...
...
// xBrowse :
ON CHANGE ( nColPos := oBrw:SelectedCol():nCreationOrder, ;
nRowPos := oBrw:Keyno(), ;
oSay[1]:Refresh(), ; // row-info
oSay[2]:Refresh() ) // column-info
maybe another possible solution
regards
Uwe