Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find which control and alias is active ?
Message
De
04/03/2003 01:30:27
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00760269
Message ID:
00760757
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform