[Lazarus] Control view style 3D?

Bo Berglund bo.berglund at gmail.com
Sat Nov 13 08:06:10 CET 2010


On Thu, 11 Nov 2010 22:40:03 +0000, Martin <lazarus at mfriebe.de> wrote:

>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.

Finally I understand what you are saying. :blush:

Yes, that replace dialog looks flat to me too....

My trigger was really the editboxes that I put on my Lazarus test
program form because they looked so strange that I thought that I must
have been doing somthing erroneous.

I have programmed in Delphi since Delphi 1 (on Win NT 3.51 at that
time) and used every version up to Delphi 7.
But then Borland started messing up the IDE so I stopped upgrading (or
really: stopped using the upgraded products) so I have been a Delphi7
person for the last 8-9 years (how long was it since Delphi7 came
out?).
My dev machines are still XP too...

All forms on which I have put user input boxes as TEdit controls (and
they are many) show sunken editboxes. So that is what I have been used
to.

It IS possible in Delphi 7 to make the editboxes flat by changing the
property from 3D, which is the default, but I never do that. So my D7
programs all have sunken editboxes. And on Lazarus thta property is
not existing.

The tools I have been using also have this look....

But looking at Notepad (which I never use because as an editor I think
it is no good) according to your instructions reveals the behaviour
you have talked about...

So now I understand everything and I have to rethink the planned
application design.

Thanks for the enlightenment!
And sorry for messing up the list with my confusion...


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list