Popup disable customized toolbar

smig

Registered User.
Local time
Today, 14:26
Joined
Nov 25, 2009
Messages
2,209
Which version of Access are you refering to?
 
Access 2003
 
Pop-up reports when maximised hide the toolbars/menubars. If you minimise the report you will see that the toolbars/menubars are behind (on the application window).

It's either you minimise the report, create pop-up menus or refrain from using pop-up reports.
 
the report is not maximized, it's restored.
I can see the toolbar, but instead of having the customized one I made and set for it I see the standard one.
also, the same apply to forms.

once you set a form or report to PopUp a customized toolbar won't work.

is there any other way puting the report on top of forms, other then setting it to PopUp ?
 
Looks like you've sourced it out :) Toolbars/menubars are a part of the Access window. A popup form is designed to be "independent" from the application window, hence, loses the menubars/toolbars associated to the application window. When you set your form to a toolbar it simply is changing the application's toolbar to that customised toolbar when the form is attached to the window (i.e. when it's NOT popup).

You can try to open a blank form (in the Open event of your popup form) and set the blank form's toolbar to your customised one. But that will mean if it gets closed then the toolbar is gone, so you would need to handle that.
 
hm... thanks.
that's might work, if I open it hidden, and close it together with the report.
(I want the toolbar to be changed to another customized one after I close the report)
 
I don't think it will work as being hidden. You can probably open a blank form and set its backcolor to look like the grey background of the application.
 
it didn't realy work, because when you change to one of the forms the toolbar chnage too, even though this form won't be on top.

As I know now what will not work (Thanks) I looked for another solution - I'm using the SelectObject method to put it on top of all forms :)
It's not the optimal solution as it's not PopUp and the user can move to one of the forms, but it shouldn't be a big problem, so I'll live with that.
 
It does what it says on the tin. If you move from one form to another the toolbar will either change to default or custom (if set).

Glad you found a solution :)
 
I expected the toolbar to be changed when you change to another form, but the problem is it won't change back when you move back to the report.
this might be solved by making the report Modal, but it's not what I wanted.

yes, I'm happy with what I have now. I could be more happy, but life aren't perfect :D

Thanks for you help :)
 
Set the toolbar in the form's property instead of through code.

Life can never be perfect sadly :D
 
I set the toolbar in the form's property. still it won't work for a popup.
but as said, case is closed :)
 
I don't have 2003 right now to test it but if I remember I will try it out. ;)
 

Users who are viewing this thread

Back
Top Bottom