Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two Controls in a Grid Column - Why?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00568691
Message ID:
00571737
Views:
22
>Thanks. I would have never thought to click on the title bar of the form in order to delete a control!

But the logic here is simple. It all follows from Form (or Class) Designer default behavior. When you click inside the grid in Form Designer you always choose one of the columns, not the controls inside the column. So you have to select the column textbox in the Property Sheet.

If you press any key while in a Property sheet you are editing one of the control's properties (if it is available for edit). So, to delete the selected control you need to move the focus to the control itself (which is now the currently selected control in the Form Designer).

If you click in the same grid column in the Form designer again, that column becomes the selected control (not the column textbox - it looses the focus). Or you may even miss it and select another control on the form by chance (or form itself). So you need to activate the form in Form Designer without changing the selected control (grid textbox). That what happens when you click either on Form Designer title bar or Form title bar.

I always prefer to click on Form Designer title bar as it is farther from the form itself.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform