[Lazarus] Control view style 3D? (1/1)

Martin lazarus at mfriebe.de
Thu Nov 11 23:40:03 CET 2010

On 11/11/2010 21:20, Bo Berglund wrote:
> The strange thing is that EVERYTHING else on the XP development PC
> (all applications with no exception) shows up as 3D EXCEPT the program
> I created with Lazarus.
> The explanation that Lazarus follows the native look of the operating
> system it runs on based on the user theme setting does not hold (for
> my understanding at least) because this is the SINGLE case of flatness
> among each and every application on this PC. And that includes the
> tools and utilities included with WinXP.
> So the native look IS 3D when Lazarus builds the flat looking
> application...

When you say every app: no one here cares what any app produced by 
vendor xyz (xyz <> Microsoft) does. Because they may all do there own thing.
(But yes, it would be strange if every single vendor did get it "wrong" ...)

So when you compare, open the notepad.exe that comes with every version 
of windows since the beginning of time.
Open the "replace dialog".

And that is what is defined as correct. nothing else but that.

And I just tested it myself.

My XP by default is flat.
=> Notepad =f lat / Lazarus = flat

Changed theme do "windows XP Classic"
=> Notepad = 3D / Lazarus = 3D / Project1.form1 = 3D

And I did not need to plat with any manifest or anything...

My test Pc is a one year old netbook, with XP as installed by vendor.

So if yours differs it must be some settings.
But if on your PC the look of Lazarus (try a recent 0.9.29) does indeed 
differ from the look of Notepad's replace dialog... then it would be 
interesting to know those exact settings (XP settings) needed to 
reproduce this. (As this could maybe be a bug)

Or make the opposite test => change intentionally to a flat scheme (test 
on notepad) and see what all the other apps do.


More information about the Lazarus mailing list