Database Styles

epicmove

Ben
Local time
Today, 08:13
Joined
Apr 21, 2006
Messages
59
Hi Guys,

Being primarily a webhead, it is possible to have something similar to a Stylesheet (CSS) to control the fonts/colours of all my forms and their various controls?

I was thinking that if i created global variables i.e.
dim bgcolor as Interger
bgcolor = 13256464 (color value)

then creating a sub routine that cycled through various properties of the form

e.g. sub formatform ()
me.formheader.backcolor = bgcolor

I could then call this sub routine in the on form load event.

Is this a good way of doing it or is there a better alternative?

Ideally I would like to have the values for each form property in a table so that the user could potentially to change these or the application could be customized to suit a companies colour scheme?

Any advise would be much appreciated.

Thanks
Ben
 
Colour Changing Forms

Thanks.

That will do the trick. Should be able to amend the code to include properties for other controls too.

Thanks again

Ben :)
 

Users who are viewing this thread

Back
Top Bottom