On Oct 11, 1:26 am, "Stuart McCall" <smcc...@myunrealbox.com> wrote:
> "Glynn" <Gl...@discussions.microsoft.com> wrote in message
>
> news:4EAF5170-875A-4020-9E9B-(E-Mail Removed)...
>
>
>
>
>
> > Thanks Stuart - but no, that does not work for me. I've tried changing
> > the
> > 'ControlBox' to 'NO', but the RESTORE button stubbornly remains in place.
> > It is a real nuisance, because if the user inadvertently clicks on it, it
> > reduces/distorts the size of the Form or Report, with no way of getting
> > back
> > to the original size - except by manually dragging and resizing the
> > screen.
> > --
> > Glynn
>
> > "Stuart McCall" wrote:
>
> >> "Glynn" <Gl...@discussions.microsoft.com> wrote in message
> >>news:862F83A0-2FCD-4AEB-87A1-(E-Mail Removed)...
> >> >I have been able to remove the Min/Max and Close buttons form my
> >> > application's Forms and Reports - but the 'Restore Window' button
> >> > remains.
> >> > I used code supplied by Wayne Gillespie (bless his heart) to remove the
> >> > above buttons - but it left the 'Restore Window' button.
>
> >> > Can anybody help me to remove this button from my Forms and Reports?
> >> > --
> >> > Glynn
>
> >> Set the form's ControlBox property to No/False. This removes all 3
> >> buttons
> >> regardless of the Min Max Buttons setting.
>
> That's odd. It works for me in A97, A2k, A2k2 & A2k3. What can I say?- Hide quoted text -
>
> - Show quoted text -
It only works when .popup is set to Yes. I set all of my forms as
modal, non pop-up, and call them as dialog boxes (which makes them pop-
up, but doesn't remove the control box). This is the preferred mode
of program design, as it "fixes" some very nasty behaviours in
Access. I don't have to deal with active forms hiding behind inactive
forms every time a user encounters an error. If they do encounter an
error, I can go in and see immediately what the error is and fix it
without having to go through each of my forms and setting popup to
false( the calling function can open forms non-modally too). Also, I
don't have to deal with Microsoft Accesses' every-form-is-a-child
mentality. My users do not need to juggle multiple forms ( and I
don't need the phone calls).
|