Re: Form changes style when size adjusted
- From: "Paul E. Schoen" <pstech@xxxxxxxxx>
- Date: Wed, 21 Feb 2007 13:44:30 -0500
"John P" <john.p@xxxxxxxxxxxxxx> wrote in message
news:45DC3159.108F9416@xxxxxxxxxxxxxxxxx
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
I was using a modified XP theme as supplied by HP, on a fairly old CRT
monitor. The problem does not occur if I use Windows Classic. However, my
best option is probably to change the form so it does not use autoscroll,
and also maybe turn off the sizeable attribute. I don't think I have a
Manifest component in D4.
Thanks,
Paul
.
- References:
- Form changes style when size adjusted
- From: Paul E. Schoen
- Re: Form changes style when size adjusted
- From: Hans-Peter Diettrich
- Re: Form changes style when size adjusted
- From: John P
- Form changes style when size adjusted
- Prev by Date: Can't access Application variable in TWebModule...
- Next by Date: Re: Can't access Application variable in TWebModule...
- Previous by thread: Re: Form changes style when size adjusted
- Next by thread: Re: Form changes style when size adjusted
- Index(es):