Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar Woes
Message
From
19/07/2001 04:41:54
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Toolbar Woes
Miscellaneous
Thread ID:
00532398
Message ID:
00532398
Views:
48
Hello all,

I have a little problem I have been investigating for a while now.. I think I have found the cause but don't know the solution.

Problem:
I have a toolbar with 3 buttons.. Print, Preview, Excel (+ others)
I have a non modal form currently active (Called Products)

I press the Preview toolbar button, the click method runs the following code
_screen.Activeform.FormPreview()
In the Products screen the formPreview method contains the following code
Do Form ProdReport With 'Preview'
The prodReport form is Modal

When I get into the ProdReport form, I want the 3 toolbar buttons to still be active. But, the preview button is "dead".. Nothing in the click method runs (but strangeley the mousedown event fires)

Summary:
I think the Preview toolbar button click method is waiting for the modal form to finish running before it can be clicked again.
Ie it's sitting at the _screen.activeform.FormPreview() line waiting for a return from formPreview which will not come until the Prodreport form closes.

Has anyone ever encountered anything like this? if so then how the hell do I get round it?
I really do want the ProdReport form to be modal but I may end up having to simulate modal behavoiur.

TIA

Will
P.S. If you have time to read all this then you have too much time on your hands!
Will Jones
Next
Reply
Map
View

Click here to load this message in the networking platform