[lazarus] More fixes for Combobox in win32

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jul 28 02:17:20 EDT 2003


On Sun, 27 Jul 2003 13:17:26 -0300
Karl Brandt <pascalive at bol.com.br> wrote:

> Now it's my time to contribute something :-).
> This patch enables the new font to be set for list/combo controls and
> fixes the size of the dropdown list after calling clear and delete
> methods. Sadly,the issue of positioning is not fixed
> It also removes the calls for SetName Procedure which, i think are
> useless: It's never used (it's the same of CompStyle property)
> and the adresses that are stored are deallocated just after the creation 
> of the control.
> Someone has a usage for this proc?

I guess, Keith added it for debugging purpose.


> Another not very usefull proc is SetLCLObject: the same value (@Sender) 
> is stored twice (in 'Class' and 'Sender')

I will let this to the other win32 developers.

 
> Saying of ComboBox how about the implementation of DropDownCount property?
> I think it's useful to have it.

Yes.

 
> And about implementing a multicolumn with TListBox.Columns property 
> instead of having a separated control (TCListBox)? this would be done 
> easilly in win32, i don't know about GTK (it looks that the control must 
> be recreated to make this).

I think, we should keep it splittet. This will make it easier for new
interfaces.
Also we can break some VCL compatibility with TCListBox and add features
whatever we like.


Mattias






More information about the Lazarus mailing list