Telling if an object is a container...
PROCEDURE cont_check
PARAMETER cobject
DO CASE
CASE PEMSTATUS(&cobject.,"Controls",5) ;
OR PEMSTATUS(&cobject.,"Buttons",5) ;
OR PEMSTATUS(&cobject.,"Pages",5) ;
OR PEMSTATUS(&cobject.,"Columns",5)
RETURN .T.
OTHERWISE
RETURN .F.
ENDCASE
EndProc
Of course what you check with pemstatus() is up to you...
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