
Form - cannot select max button without control box
Quote:
> I would like to have my form displaying the max button but not the control
> box.
> What is happening is that when I select ControlBox=False, it doesnt display
> neither the max nor the min buttons, even if I set them to true.
One option is to set the form's MinButton = False which disables it but
still leaves the MaxButton and the Exit button available.
Then, in your Query_Unload event, examine the UnloadMode parameter.
If = vbFormControlMenu (value = 0 - see Help) set Cancel = True.
This is a little kludgy, but will work until you locate a more elegant
solution.
Cheers,
Dan
--
Dan Carey - Software Development http://www.emb.co.uk
English Matthews Brockman - Actuarial Consultants, Epsom, England
-----------------------------------------------------------------