[lazarus] More fixes for Combobox in win32

Karl Brandt pascalive at bol.com.br
Sun Jul 27 11:47:59 EDT 2003


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?
Another not very usefull proc is SetLCLObject: the same value (@Sender) 
is stored twice (in 'Class' and 'Sender')

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

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


karl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: zip00015.zip
Type: application/octet-stream
Size: 3703 bytes
Desc: "combo.zip"
Url : http://localhost/pipermail/lazarus/attachments/20030727/53363217/zip00015.obj


More information about the Lazarus mailing list