Form Consistency

G

Guest

Hi,

We have following issues with Windows Forms,

1) When we run our application on two different operating systems,
Windows 2003 and Windows XP, on the XP Machine because of XP themes, the GUI
of the windows forms changes i.e. the font size and colors on the form
changes, the close button (X) on the form gets displayed in red, as compared
to the same application when run on a Windows 2003 Machine.

2) The windows forms appearance aligns with the system appearance.
(i.e. if the user goes to Desktop -> Right Click Properties -> Appearance ->
Color scheme and changes the Color scheme to any other value other than the
default Windows Standard, the windows forms appearance becomes same as system
appearance whereas the requirement is that the windows forms appearance
should have remain unaffected)

Is there any mechanism by which we can make our windows forms appearance
consistent across operating system and independent of system appearance?
Tried with setting AutoScale properties but still changes in the appearance
change the behavior and looks of the form.

Any help would be great.

Thanks,
Sam.
 
Y

YangHua

Is it necessary to make it consistency? Windows XP will look like xp and
2000 like 2000. :)
But if you customer insists on it..... you can set the forms background
color to a fixed color and set some controls' flat style to "Flat" or
something else except "System"

Regard,
Tony Yang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top