Ok, I'm officially blind, I've been chasing around my tail the last half hour trying to understand how the WSxxxxx and the component link works.
Ctrl_clicking all over the lcl map following leads about the process and always fall upon either empty methods or the dreaded WSFactory unit where everything is declared as an external link.
Is any one brave enough to explain to me how this think works?
Let me make this clear
objective :
Create a ButtonEdit control with the button inside the editor and not on the side as it is the default stock control that comes with lcl.
clyphs, image lists, events all in the basic package.
Final state :A ButtonEdit that has two buttons in any side of the edit control (left and right) they can be both at one side or one at each side The button class should be dynamic, for now a virtual method getButtonClass should be enough.
Lets take it easy for starters I want to create a custom control that will paint in its background a grid and no I don't want to override erasebackground of a tcustomcontrol descendant I want a small step by step list to create a TCustomControl descendand using the WSxxxxx analogy to get me started.
One more thing forget all that variables and paths you can set and all that, I want a static solution to get the hang of things and then I'll learn how to make them dynamic.
Although I have created some demo components based on existing lcl component and overriding a few methods here and there I would prefer to go a bit deeper this time around and learn how to get the max speed out of my components I will need it later on.
Thank you for any help.
Regards
Jo.