On 04/10/2011 02:00 PM, Michael Van Canneyt wrote:


On Sun, 10 Apr 2011, patspiper wrote:

I modified TEditBtn and made the button optional in order to make that component more generic.

But showing the button is exactly the purpose of this control, so how can it be optional ?
The button will be visible by default. The application would show or hide the button depending on the context.

Anyway, my actual modifications to TEditBtn just add the necessary logic so that a descendant that can hide/show the button becomes feasible.

Stephano

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to