Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find which control and alias is active ?
Message
From
04/03/2003 01:30:27
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00760269
Message ID:
00760757
Views:
14
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
Map
View

Click here to load this message in the networking platform