Attached is a patch which fixes: 1) NewText issue marco and I debugged, about which he…
Hi list, Attached is a patch which fixes:
Thanks. Applied.
Mattias

Mailing lists / lazarus / 2003-07
2 messages · 2 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Attached is a patch which fixes: 1) NewText issue marco and I debugged, about which he…
Hi list, Attached is a patch which fixes:
Thanks. Applied.
Mattias
Hi list,
Attached is a patch which fixes:
1) NewText issue marco and I debugged, about which he wrote to the list. Needs more debugging, commented UserData because the field is outside the TLMessage structure.
2) Rewritten WM_COMMAND message handling. The type of control implies the type of command you can get, not the other way around (as it was). The result is that the lcl now properly recieves cbn_dropdown message which was first captured by bn_killfocus (a button message).
3) Adjusting the client size for the scrollbars. The client size needs to be shrunk to exclude the size of the scrollbars. I have code for this in win32callback.inc, but it does not seem to be working as i want. When I insert the inverse code for lm_setsize to increase the width with the scrollbar size, the scrollbars disappear...strange. So I left this last half out.
4) Setting of font to DEFAULT_GUI_FONT. Very simplistic, does not work for object inspector, does work for edits and tab controls. It's a little bit nicer font. Maybe we need to create a default font ourselves that is to be used by the LCL?
5) Implemented SetComboMinDropDownSize. There is a nasty side effect: All controls under the combo will be moved down because the combo is increased in height. There needs to be code to undo this temporarily increase in height for the dropdown.
Regards,
Micha.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00059.bin
Type: application/octet-stream
Size: 1817 bytes
Desc: "combo.patch.gz"
Url : http://localhost/pipermail/lazarus/attachments/20030726/c5861ae3/bin00059.bin