[Lazarus] editor details

Mattias Gärtner nc-gaertnma at netcologne.de
Wed Apr 21 13:14:36 CEST 2010


Zitat von Graeme Geldenhuys <graemeg.lists at gmail.com>:

> On 21 April 2010 10:44, Michael Van Canneyt <michael at freepascal.org> wrote:
>>
>> But it does have custom draw support for the tabs, which can be used to
>> easily create the button. I do it in my own applications.
>
> :-) We are talking in circles. Now you suggest exactly what I
> suggested - using custom draw ability.
>
> My suggestion just went a bit further by implementing the whole
> PageControl as a custom drawn component (not just the tabs part). Then
> you remove any platform limitations and the IDE can add features as
> they need it, and all platforms will support those features. Like I
> said earlier, this is only to be used in the IDE because it's a
> specialized tool, that could do with a couple of specialized
> components.

If someone implements a fancy page control that looks nice on all  
platforms (not the crap from eclipse et al), then +1.


> Another example of a specialized (custom drawn) component that the IDE
> could use, is the area dividers used in Environment > Options >
> Desktop screen. Currently I believe it's a Label (font set to Bold)
> and two Bevel components. That could be written as a custom component,
> and maybe even new functionality added down the line, like
> Expand/Contract a section when clicked, adding gradient support etc.

+1 for a custom control. e.g. TCustomDrawnGroupBox.

I don't see the need for expand/contract/gradient.

Mattias







More information about the Lazarus mailing list