|
Technical answers from the trenches |
|
Trick: Changing Properties for Multiple Objects
| ||||
Posted: 7 February 2003 |
||||
  |
Applies to: Paradox 5.0 and later |
|||
  |
Audience: Everyone |
|||
Question: Changing individual properties for multiple objects can be so tedious. Is there any way to speed this up?Yes! Paradox provides two shortcuts that let you set properties for more than one object at a time:
The following sections discuss these in detail Selecting more than one objectWhen you change properties in Design mode, Paradox applies your changes to all selected objects. Thus, you can select multiple objects and then change one property to affect multiple objects. Paradox provides several shortcuts for selecting multiple objects, including
Be aware that this technique only changes the top-level (first layer) of selected objects. For example, multiple selection will not change the font of field objects embedded in text objects unless you select those as well. The next section shows a convenient way of handling this. Note: Older versions of Paradox display only the properties valid for the selected objects (e.g. the properties they have in common). This feature appears to have been dropped from later versions of Paradox. Cascading property changesParadox supports a little documented feature we call cascading properties. When you select a container object and then press Shift+F6, Paradox displays a property sheet showing the properties of the container and all objects inside it. Property changes are only applied to appropriate objects, e.g. only the objects that support the changed property. Trivia: This feature was originally called penetrating properties. Perhaps this explains why we prefer a different term? To demonstrate this feature in action:
Cascading property changes also work on reports, as well as multiple objects. For example, you can select a combo box and a list box, press Shift+F6, and then choose Wide Scrollbars in a single property change. Once you get used to combining multiple selection and cascading properties, you'll wonder how you could have wasted so much time changing properties for individual objects. |
|||
|
||||||||
|
Copyright © 2000-2004, techtricks.com; All Rights Reserved. Acknowledgements, Disclaimers, Terms and Conditions. |
||||||||
|
Article last updated on 31 May 2003
|
||
|
|
||
|
[- End -]
|