Windows Develop Bookmark and Share   
 index > Windows Forms General > locating objects
 

locating objects

hi,

my application is a multiple form application. each form contains a set of labels and textboxs. each form has a background bitmap which presents like thin line boxes for presenting the labels. the labels are located exactly in those boxes. the problem is that if someone runs the application in a different resolution, the background boxes does not appear exactly behind the labels and the buttons, since the labels and the buttons are like changing location because of the screen resolution. how can I make it stay synchronized ?

miscal  Saturday, July 21, 2007 3:47 PM
I suppose you are talking about Large/Normal fonts scheme?

Form class has a property called AutoScaleMode. Check this MSDN link for more details:

AutoScaleMode Enumeration


Regards,
Bojan Mijuskovic.
Bojan Mijuskovic  Saturday, July 21, 2007 9:16 PM
I suppose you are talking about Large/Normal fonts scheme?

Form class has a property called AutoScaleMode. Check this MSDN link for more details:

AutoScaleMode Enumeration


Regards,
Bojan Mijuskovic.
Bojan Mijuskovic  Saturday, July 21, 2007 9:16 PM

You can use google to search for other answers

Custom Search

More Threads

• How find function or class of DLL and exe
• Sorting Treenodes in treeview
• List the filepaths of all open files
• Adding a dropdownlist to a listview?
• floating point control register
• Get Mouse pointer position
• files needed
• Font and datagridview
• making a form as an acive form through program when minimised
• CheckBox, RadioButton and Folder Image in a Tree Control