[AccessD] Disable minimize, restore, close buttons

Stuart McLachlan stuart at lexacorp.com.pg
Sat Feb 25 17:40:03 CST 2012


You can turn the Min/Max buttons off in form design, but I haven't yet found a way to 
disable/get rid of the restore button when maximized.

I suspect that it is going to require API calls.  I'm still playing with it :-)


-- 
Stuart

On 25 Feb 2012 at 14:40, Rocky Smolin wrote:

> I need to do it under program control.  While developing I need those
> buttons.  But when I distribute the mde I'd like them off.  I can easily
> detect if the file's an mde but don't know the code to turn them off.  The
> control are in the property list for Me.  But don't seem to want to compile.
> 
> R 
> 
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust
> Sent: Saturday, February 25, 2012 12:03 PM
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] Disable minimize, restore, close buttons
> 
> Off the top of my head, what about making the forms modal?
> 
> Charlotte Foust
> 
> On Sat, Feb 25, 2012 at 11:45 AM, Rocky Smolin
> <rockysmolin at bchacc.com>wrote:
> 
> > Dear List:
> >
> > Now that I think I have that problem with the maximizing and centering 
> > of forms on 2010 under control (somewhat) I think I should disable the 
> > minimize, restore, and close buttons if I'm working with an mde.
> >
> > I have code that checks to see if I'm working with an mde and does 
> > stuff so I could add the disables to that.  However, I can't seem to 
> > find the right syntax.  Does <file://\\Does>  anyone know that?
> >
> > MTIA
> >
> > Rocky Smolin
> > Beach Access Software
> > 858-259-4334
> > www.bchacc.com
> >
> > <http://www.bchacc.com/
> >
> > >
> > www.e-z-mrp.com
> >
> > <http://www.e-z-mrp.com/
> >
> > >
> > Skype: rocky.smolin
> >
> > --
> > AccessD mailing list
> > AccessD at databaseadvisors.com
> > http://databaseadvisors.com/mailman/listinfo/accessd
> >
> >
> > Website: http://www.databaseadvisors.com
> >
> >
> >
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 




More information about the AccessD mailing list