Forum > Lazarus
Custom Drawn Controls advances
felipemdc:
Hello,
I'd like to announce that I have been advancing a lot with the Lazarus Custom Drawn Controls Package in the last days, so now the following controls are already basically functional (but not feature complete):
TCDButton, TCDCheckBox, TCDGroupBox, TCDScrollBar, TCDEdit, TCDPageControl, TCDTrackBar, TCDProgressBar
One of my near term goals is adding at least the Report style of TCDListView, so I am working a lot on this control too (and on TCDScrollBar which is uses).
This set of controls allows a full customization of the look and full reliability on the look and behavior of the control across all Lazarus widgetsets.
For screenshots and for more information please see the wiki:
http://wiki.lazarus.freepascal.org/Lazarus_Custom_Drawn_Controls#How_do_these_components_work.3F
The custom drawn controls can be found in the Lazarus source tree in the directory lazarus/components/customdrawn, although I plan on moving them to the LCL in the future when they will be utilized by the future customdrawn widgetset of Lazarus.
Patches are welcome =)
thanks,
Felipe Monteiro de Carvalho
lainz:
You're the master of custom controls.
Edit: So when you add those to the LCL we can use it to make new controls using the existing code without a package dependency?
felipemdc:
--- Quote from: lainz on November 11, 2011, 02:24:01 pm ---You're the master of custom controls.
--- End quote ---
Patches are welcome ;)
--- Quote ---Edit: So when you add those to the LCL we can use it to make new controls using the existing code without a package dependency?
--- End quote ---
Yes.
BlueIcaro:
I was looking the wiki page, and it's a nice work!!!
I can't wait to test them
/BlueIcaro
jarto:
--- Quote from: felipemdc on November 11, 2011, 04:50:46 pm ---
Patches are welcome ;)
--- End quote ---
Great work. Looks promising!
Not a patch, but you probably should add PrepareCurrentDrawer(); to the end of TGroupBox.Create.
I can't get TEdit to work. If I click on it, and type anything, the text goes blank. No caret is shown either.
Both are tested on Ubuntu.
Navigation
[0] Message Index
[#] Next page