>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