Yes, you are right, sorry for my mistake, but has When and Valid events. You can use these methods instead of GetFocus , LostFocus.
Or use a separate toolbar button for detail line ( _screen.activeform.AddNewDetaiLine() ).
If active form has no code in this method, nothing will happen.
I have a form property that can have "add", "adddetail", "edit","view" values. When form is activated, the activate method of form enable/disable main toolbar buttons (if form property value is "add" or "edit", then and buttons are enabled , if form property value is "view", navigational bottons and ,,... are enabled, and so.
Dorin
>Thanks Dorin,
>but there is no Got and lost focus event of the grid only there is text1's on the grid .
>thats way ; must declare for each column.text1.gotfocus and lostfocus event that . so that it not seems pratically. Every time programmer must declare this setting for each column . Is there more easy way ?
>
>TIA
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only