Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default font and size for forms 1

Status
Not open for further replies.

darkmage1

Technical User
Jan 30, 2005
28
US
Is there a way to set a default font and size of forms so i don't have to go and set the font and size of each field manually?
 
Once you have the form set the way you like it, go to Format=>Auto Format and Choose the Customize option. One of the bullets on this option page is to create format based on the form you have open. Make sure you use a form that has as many of the different field types as posible so your Autoformat is as complete as possible.

AtlasAF
USAF
 
Use CTRL+A to select all the controls then change font once for all. You have to unselect some controls like line,rectancle etc those don't support a font property. After selecting all hold SHIFT key and click on the controls to unselect.


Zameer Abdulla
Jack of Visual Basic Programming, Master in Dining & Sleeping
Visit Me
 
In design view, open the properties dialog. Click the button on the Toolbox matching the control you wish to alter the defaults for (for instance TextBox), then the properties dialog should display "Default Text Box" - alter the properties and...

Also, if you've created lot a form or report you wish to be the default, or template for later forms or reports, in Tools | Options - Forms/Reports tab, set the form/report as template.

Roy-Vidar
 
RoyVidar, can't ignore your post... It is new to me...
I would have saved a lot of time if this post was before 2 years..

BTW In Visual Basic 6 you can set form's font that will be applicable to all new controls inserted there after. you can alter anyway.
thanks

Zameer Abdulla
Jack of Visual Basic Programming, Master in Dining & Sleeping
Visit Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top