Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How column When() gets control in a Grid object
Message
De
15/05/2008 10:54:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01317146
Message ID:
01317305
Vues:
9
>>I always though the When() will get control when you click on the object or object get control.
>>
>>Does the grid has a different behavior?
>>For example, the first time I click in a grid, let say column 3. the when() of column 2 get fired.
>>is that weird behavior? or it is by design? or it is me?
>
>The grid columns don't have WHEN() event. Can you clarify what the problem is?

Ooops, I meant an object in the column, say textbox.

to repeat the behavior I am talking about:

create a form
drop a textbox on the form (must be first to get focus or set the tabindex to be before the grid)
drop a grid on the form (such as dropping table on the form)
add a when() code in the first column's object (textbox,...) for example, wait window ""

run the form, the textbox will get focus
click in the grid, any column other than the first column, the one with the When() code and see if the when will fires. It will happens the first time only. Repeated click will not show this behavior.

Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform