devxlogo

Disable Easily

Disable Easily

You can easily give your check-box control a Locked property without making your own custom control. First, create a frame large enough to contain your check boxes. Clear the caption and set the border style to None. Put as many check boxes as needed on this frame, setting their captions and so on. When you’re done, set the frame’s Enabled property to False. You can use the same trick to make other controls, such as option buttons and text boxes, appear enabled but not respond.

devx-admin

Share the Post: