Results 1 to 4 of 4

Thread: property pages.

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member Dorothy's Avatar
    Join Date
    Feb 2001
    Posts
    310

    Question property pages.

    What are property pages. Where does the need for using arise?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    When you draw a control on a form, like a text box, and click on Properties, you are looking at the property page for that control. Each control has its own property page which allows you to control how that control will function.

    When you create an ActiveX control, yourself, you can also add a similiar type of property page that will afford the people using your control the ability to set its properties at design time, the same way you can with standard VB controls.

  3. #3
    Hyperactive Member FATBOYPEE's Avatar
    Join Date
    May 2001
    Location
    Charleville (Ireland) Still. ANYONE GOT A JOB I CAN HAVE ? GIZA JOB. I CAN DO THAT....
    Posts
    463
    Ok then, what's a property Bag ? & what earthly use is it ??

    Best Bar.....

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    A PropertyBag object holds information that is to be saved and restored across invocations of an object.

    A PropertyBag object is passed into an object through the ReadProperties event and the WriteProperties event in order to save and restore the state of the object. Using the methods of the PropertyBag object, the object can read or write properties of itself. The ReadProperty method of the PropertyBag object is used to read a value for a property, while the WriteProperty method of the PropertyBag object is used to write a value of a property. The value of a property can itself be an object; in that case the PropertyBag object will attempt to save it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width