Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What property is an array ?
Message
 
À
23/06/2001 17:02:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00522620
Message ID:
00523050
Vues:
10
Lutz,

As far as I see you refer to the name substitution instead of the actual name.
If so, you should use:

?TYPE('&sys(1270)..NAME(1)')
?TYPE('&lcCtrl..NAME(1)')
?&lcCtrl..NAME(1)


Yuri
>>>>>>>>>>>>>>>>>>>>>previous messages below>>>>>>>>>>>>>>>

>You should have refernce to the parent object, like TYPE('thisform.lvVar[1]').
>It is not quit clear why "(TYPE('lvVar(1)')<>'U' did'nt work". Do yuo get any error message?

Hi Yuri,
You are right, I mean TYPE('thisform.lvVar[1]')

My Problem is that easy to reproduce:
in command window:

MODI FORM

*move mousepointer over the form
*enter in command window

lcCtrl = SYS(1270)

gives you a link to the form.
Now enter

?TYPE('lcCtrl.NAME(1)')

an "C" appears on screen. But we all now that name is character ...

This works with any other property even logicals as VISIBLE or so.

Look also at

?lcCtrl.NAME(1)


Lutz
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform