Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PemStatus syntax
Message
From
07/03/2001 01:15:02
 
 
To
06/03/2001 23:37:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00482569
Message ID:
00482588
Views:
9
>Hi all,
>
>I have a form with a toolbar, now i need to know if the form as the toolbar in it, i'm trying PEMSTATUS with no luck
>
>my classe-->jbgci, my toolbar class in jbcgi-->jbtoolbar
>
>loForm is ok, it tell me the form name.
>
>my code,
>if pemstatus(loForm, 'jbtoolbar', 5)
>lcToolbarClass = loForm.jbtoolbar
>
>Thank's in Advance
>
>João Batista

If the toolbar is _in_ the formset, PEMSTATUS won't work. If jbToolBar is a Property of the form that holds a reference to the toolbar, the above code should work. To check if a container contains a control, use:

?TYPE("loForm.jbToolBae") = "O"
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform