Hi all,
is there a way to put an empty date into a xBrowse column with nEditType := EDIT_DATE?
I have the case of columns with empty date contents.
If a user triggers the datepicker control by accident or curiousity, there is no way to escape by leaving the column value empty.
Thanks for each hint.
Detlef
empty date in xBrowse column
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: empty date in xBrowse column
If the original value is empty date, even after dtpicker is activated, pressing Esc restores the original value of empty date.
Also, please add this code:
If the original value is not an empty date, pressing Space key while on the cell makes it empty.
Also, please add this code:
Code: Select all | Expand
oCol:bKeyDown := { |k,f,br,col| If( k == 32, ( col:VarPut( CTOD( "" ) ), 0 ), nil ) }
If the original value is not an empty date, pressing Space key while on the cell makes it empty.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India