Lynn. Rickards wrote:
Chris Rogers wrote:

I'm looking for a way to disable a control (widget) without changing it's appearance. I would like to be able to do this for any type of control. Any help would be greatly appreciated. Thanks,
Chris

Tk? Win32? Either way, what comes to mind instead of disabling,
is configuring/binding to an empty sub.

For Win32::GUI use
  $control->Enable(0);

Regards,
Rob.
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to