Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataSession.Controls
Message
De
20/08/1999 10:43:40
 
 
À
19/08/1999 12:10:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00255352
Message ID:
00255863
Vues:
12
Hi Mike.

>Is there a way to loop through all controls in a datasession ( I didn't see a controls or objects property

Do you mean DataEnvironment? If so, here's what I do:
lnObjects = amembers(laObjects, Thisform.DataEnvironment, 2)
for lnI = 1 to lnObjects
    loObject = evaluate('toDE.' + laObjects[lnI])
    if upper(loObject.BaseClass) = 'CURSOR'
* do something with it
    endif
next
Now, if it's a datasession you want to process, you need to use AUSED().

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

Click here to load this message in the networking platform