Re: Form changes style when size adjusted



Hans-Peter Diettrich wrote:


I just noticed that forms created in D4 will change their style when they
are adjusted smaller in size so that scroll bars appear to view hidden

Visual "enhancements" in WinXP can have strange effects on legacy (non
XP aware) applications. I'm not experienced with themes and the like,
but perhaps adding an XP manifest to the application might help?

I would also be interested to hear that will adding one Manifest
component to the application's MainForm or maybe on each of the Forms
automatically solve these.

I'm running Win XP. Any reason why this is happening, and any suggestions
to fix it?

This problem most often appears with laptop computers with wide screen,
and Themes in XP machine turned on. A quick cure to tell to the customer
ist to ask him to use 'Windows Classic' as his desktop theme and this
problem usually disappears.

I just recently had a case there customer had bought a new portable with
screen resolution 1440 x 900
http://en.wikipedia.org/wiki/WSXGA_Wide_XGA%2B

That is some rare 'WSXGA' mode, and is that way far from these known and
standard Windows resolutions:
640 x 480
800 x 600
1024 x 768
1280 x 1024
1600 x 1200

Even when I asked the client to turn his XP-Themes off, the screen still
looked awful. Top and Bottom Panels overlapping with several controls,
TEdits leaking to the left etc.

I have had no time (nor that 1440 x 900 screen) to test and see if
Delphi's Manifest -component on D7 is able to deal with this oddity
also.
JP
.