Freetutes.com

VB6 beginners tutorial - Learn VB6

Advanced VB6 tutorial - Learn Advanced VB6

Systems Analysis - System analysis and Design tutorial for Software Engineering


You are here: Visual Basic > Advanced VB6 tutorial > Chapter 13

Connecting a Single Complex Property to a Property Page

It's possible to connect one or more complex properties directly to a Property Page rather than an entire control. When you connect a property directly to a Property Page in this way, the entry for the property in the Properties Window displays an ellipsis (…) to the right of the property value (see Figure 13.10). The developer can click on the ellipsis to bring up a Property Page for that property.


FIGURE 13.10 Complex properties that require a Property Page show an ellipsis (…) beside their entry in the Properties Window.

To associate a single property with a Property Page, take the following steps:

STEP BY STEP
13.6 Associating a Single Property with a Property Page

  1. From a Code Window in your UserControl's code, choose Tools, Procedure Attributes from the VB menu to bring up the Procedure Attributes dialog box.

  2. Make sure the name of the property you want to work with appears at the top of the dialog box in the Name field.

  3. Click the Advanced button and pull down the choices in the list titled "Use this Page in Property Browser" (see Figure 13.11).

  4. Choose the Property Page that you want to connect with this property.

  5. Click the OK button to confirm your choice and finish.


FIGURE 13.11 Associating a single property with a Property Page.


  

<< Previous | Contents | Next >>

Home | About Us | Privacy Policy | Contact Us

Copyright © Freetutes.com | All Rights Reserved