Charlotte Foust
cfoust at infostatsystems.com
Mon Feb 24 10:39:01 CST 2003
You can do a lot of things with API calls that "can't" be done within the application. The question is whether it's worth the effort. A simpler workaround would be to use a label and make it look like a command button. Labels have click events, so it would work the same way. Charlotte Foust -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, February 21, 2003 5:59 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] changes in form design via code http://www.lebans.com/cmdbutton.htm ...uses API code to do what "can't" be done :) William Hindman ----- Original Message ----- From: "Charlotte Foust" <cfoust at infostatsystems.com> To: <accessd at databaseadvisors.com> Sent: Friday, February 21, 2003 4:29 PM Subject: RE: [AccessD] changes in form design via code > You can't change the backcolor of a commandbutton, in or out of code. > You can only change the ForeColor (the caption color). > > Charlotte Foust > > -----Original Message----- > From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] > Sent: Friday, February 21, 2003 10:48 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] changes in form design via code > > > hey, > how do I change backround color of a commandbutton via code ? > cmdBB.---- = red ? > > also, (I think I asked before) > how do I save changes on the form design that are made > programmatically. that would be kept when the form is open again > > > ----------------------------------------- > Send a Xuppa Valentine to Your Sweetheart today! > http://www.xuppa.com/greet/ > > > _______________________________________________ > 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