Information générale
Catégorie:
Programmation Orientée Object
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement