Hi All,
I want to find out which event is triggered if an item of a xBrowseColumn is selected.
I tried 'bChange' but this is only called if I select a different item as before.
I need to know the selection even if it's the same element as before.
Thanks for any idea.
TXBrwColumn:oEditLbx
Re: TXBrwColumn:oEditLbx
U#nfortunately I can't access oBrw:aCols[n]:oEditLbx.
result of the code above is 'Class: 'NIL' has no property: BLOSTFOCUS'
I suppose this listbox is not yet existend when I want to ask it.
I'll be glad for any help.
Code: Select all | Expand
WITH OBJECT oBrwTm:aCols[ 2 ]
:oEditLbx:bLostFocus := {|| someFunc()}
END
result of the code above is 'Class: 'NIL' has no property: BLOSTFOCUS'
I suppose this listbox is not yet existend when I want to ask it.
I'll be glad for any help.
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: TXBrwColumn:oEditLbx
I tried 'bChange' but this is only called if I select a different item as before.
Code: Select all | Expand
oCol:bOnChange := { |oColObj, uOldVal| yourfunc( oColObj,uOldVal)
This codeblock is called when the value of the cell is modified either by selecting an item in the listbox or by other means.
oCol:oEditListbox is temporarily created and destroyed during edit. Not available to the programmer.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India