by nageswaragunupudi » Mon Feb 11, 2013 3:41 am
Thanks for pointing out. Please apply this fix.
Please locate the following lines in the METHOD PostEdit
- Code: Select all Expand view
case ::nEditType == EDIT_LISTBOX
if xValue != nil
Eval( ::bOnPostEdit, Self, xValue, If( ::oEditLbx != nil, ::oEditLbx:nLastKey, 0 ) )
nLastKey := If( ::oEditLbx != nil, ::oEditLbx:nLastKey, 0 )
lGoNext := ( nLastKey == VK_RETURN )
endif
Please replace with:
- Code: Select all Expand view
case ::nEditType == EDIT_LISTBOX
if xValue != nil
if lDirectAssign .or. ::bEditWhen == nil .or. Eval( ::bEditWhen, Self ) // inserted now
Eval( ::bOnPostEdit, Self, xValue, If( ::oEditLbx != nil, ::oEditLbx:nLastKey, 0 ) )
endif // inserted now
nLastKey := If( ::oEditLbx != nil, ::oEditLbx:nLastKey, 0 )
lGoNext := ( nLastKey == VK_RETURN )
endif
Regards
G. N. Rao.
Hyderabad, India