Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Toolbars
Message
From
16/10/2003 11:20:05
 
 
To
16/10/2003 10:51:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00839271
Message ID:
00839298
Views:
21
Hi, Pablo.

>I have a toolbar. The toolbar is member of a formset.
>Then the user clicks in another form that is part of another formset with it´s own toolbar.
>I need to release the toolbar or hide it, because in exactly that place I will put another toolbar.
>I need an empty space there.
>
>So, When a form in the formset looses the focus, the toolbar show be hided with .release method.
>Everything is OK.
>
>Now I need to know how to call that toolbar back, when the form gets the focus again.
>
>mytlbr.show doesn´t work, because I released it. DO FORM "toolbar name" doesn´t find it.
>What should I do?

In this case, I should advise you to avoid putting the toolbars inside a formset, and make them independent instead.

Most people here will tell you to avoid formsets at all. I use them myself, but for very specific purposes. Basically, I use one form for the query and another for the detail in reports. I could use pageframes, but this was somethig we start doing a loooong time ago, and never changed it. Anyway, we don't tie anything else to the formset.

I'm quite sure you can solve that with independent toolbars. Tell me what's the desired functionality and let's try to figure out the best approach.

Regards,
Previous
Reply
Map
View

Click here to load this message in the networking platform