Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-07

More fixes for Combobox in win32

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Karl Brandt: Now it's my time to contribute something :-). This patch enables the new font to be set…
Show quoted text 9 lines
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

Reply by email

Karl Brandt

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

Reply by email