Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loop thru all controls without recursive
Message
 
 
À
12/01/2004 14:49:51
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00865729
Message ID:
00866366
Vues:
20
Dragan,

>
og=createobject("grid")
>og.addcolumn()
>?og.objects[1].name    && causes error, but all properties are visible in debugger
>* however,
>oc=og.objects[1]
>?oc.name               && this works
In VFP7SP1 and VFP8SP1 the above code fragment prints Column1 twice, with no errors.

>
ox=CreateObject("form")
>ox.AddObject("t1","textbox")
>?ox.Objects[1].name
>
This fragment too runs exactly as it should with no errors for me in VFP7 and 8.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform