Sergey --
Great! Except, what does that mean? If I had read that in the documentation (blushing for not having done so), I'm not sure what that means exactly ... Does that mean that my class needs a When and Valid method defined? And can then be empty, or can they just have a comment, or what?
Thanks in advance,
>Jim,
>
>It's documented in the help for BINDEVENT() function that "certain events such as When and Valid require code in the event for it to occur".
>
>>I'm trying to bind some events in a textbox in a column of a grid to methods in the grid. The code looks like this (done in the INIT of the textbox)
>>
>>
lcEvent='Click'
>> BINDEVENT(THIS,lcEvent,THIS.PARENT.PARENT,'TextBox'+lcEvent)
>> lcEvent='RightClick'
>> BINDEVENT(THIS,lcEvent,THIS.PARENT.PARENT,'TextBox'+lcEvent)
>> lcEvent='GotFocus'
>> BINDEVENT(THIS,lcEvent,THIS.PARENT.PARENT,'TextBox'+lcEvent)
>> lcEvent='When'
>> BINDEVENT(THIS,lcEvent,THIS.PARENT.PARENT,'TextBox'+lcEvent)
>> lcEvent='Valid'
>> BINDEVENT(THIS,lcEvent,THIS.PARENT.PARENT,'TextBox'+lcEvent)
>> lcEvent='LostFocus'
>> BINDEVENT(THIS,lcEvent,THIS.PARENT.PARENT,'TextBox'+lcEvent)
>> lcEvent='InteractiveChange'
>> BINDEVENT(THIS,lcEvent,THIS.PARENT.PARENT,'TextBox'+lcEvent)
>> lcEvent='KeyPress'
>> BINDEVENT(THIS,lcEvent,THIS.PARENT.PARENT,'TextBox'+lcEvent)
>>
>>
>>This works for six of the eight events. That is, I can verify that the method in the grid is invoked as expected,
except for Valid and When.
>>
Jim Nelson
Newbury Park, CA