Hi all
Xbrowse is going to be great class but coomplex too
Why not add in xbrowse.ch
ON PREEDIT
(ON POSTEDIT ... ON EDIT) exist
(WHEN ) exist
(VALID) exist
ON KEYDOWN
ON KEYCHAR
What is the order while evaluating ?
bOnPreEdit, bOnPostEdit, bWhen, bValid, bKEyDown, bKeyChar
What is the different between bKEyDown, bKeyChar
which one is evaluated first ?
Why bOnPreEdit dont support nKey parameter and is it possible do detect it ?
I need to know is ENTER pressed before editing.
What is the best way to detect really selected column ?
I use oBrw:nColSel + oBrw:nColOffset - 1
Hope it is ok
My problem.
I have xBrowse with 10 editable columns
Not all colums visible
First i want if try to edit selected column and really selected column
is higher that columns before that and some column before that column is empty
to show message something like MsgInfo("Enter value for column 2") and to go to column 2
IF it is ok
After that i want if i press ENTER key (13) value of that column to be
replaced with some value i have in array for that column.
After that i want to validate valye of that column (entered or replaced)
IF valid is ok go to next editable column ig no stay to that column
and return value it was before editing or replacing
Best regards,