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