General information
Category:
Object Oriented Programming
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only