>Helo all!
>I have got a problem, that is to get fullname (with its name parents) of a activecontrol. For example, the name of activecontrol that is activating is a grid1, and its fullname can get : "nameform.namepageframe.namepage.namecontain.grid1".
>How to get it?
>Please help me!
>Canh
Canh,
The code below may help,
Doug
*-- Determine the full path of the current control
LOCAL lcSys18, lcParent
lcSys18 = SYS(18)
lcParent = 'THIS'
DO WHILE .T.
lcParent = lcParent + '.Parent'
IF TYPE(lcParent) = 'O'
lcSys18 = &lcParent..Name + '.' + lcSys18
ELSE
EXIT
ENDIF
ENDDO
Previous
Next
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