Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Developer Tips - Editing Container Controls

Status
Not open for further replies.

ramani

Programmer
Mar 15, 2001
4,336
AE
When we have a grid control or PageFrame or any container for that matter on a form, and if we want to edit the traditional way..

1. Select the container in the Propert window and then proceed to edit on the forms canvas

2. Right Click over the PageFrame or Grid, then click on the object to start editing (easier than 1)

Now imagine you have a pageframe inside a pageframe and on the inner pageframe.Page1 a grid control. To reach the Column of this grid, you have to keep right clicking and choosing edit on each of the contained objects to reach the ultimate wanted control.

3. From VFP7 onwards, this is very very simple.
All you have to do is..

a. Just Hold the Ctrl key down and click on the container, be it Grid or PageFrame. You are right in the edit mode of that container. Click again the same way, you are one more level in.. and so on..

b. You can hold the Ctrl+Shift key together and click on the innermost container. You will start editing that in just one click.. much easier, isn't it ?


So get into the habit of holding the Ctrl or Ctrl+Shift while clicking container objects. You will do your job faster.

I dont know how many of us make use of these newer features and so felt like posting it as a Tip and highlighting it.

:)

____________________________________________
ramani - (Subramanian.G) :)
When you ask VFP questions, please add VFP version.
 
ramani,

Thanks for the tips.

Slighthaze = NULL
craig1442@mchsi.com
"Whom computers would destroy, they must first drive mad." - Anon​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top