[Lazarus] Component visibility at design time
patspiper at gmail.com
Sun Apr 10 19:56:17 CEST 2011
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.
More information about the Lazarus