Results 1 to 4 of 4

Thread: How to display control properties help

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Location
    Greece
    Posts
    164

    How to display control properties help

    Hello all,

    I created a control and test it on a new form as usual.
    When viewing the properties of my control, I can't create that short explanation displayed in the properties window.

    For example, when adding a picturebox in a form and selecting the e.g. Left property, a short description of the property appears

    ("Returns/sets the distance between the internal left edge... " etc.)

    Does anyone know how to create this short property descriptions for the properties of my controls ????


    Thanks

    --hyperspaced

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    In the VB IDE menu : Tools -> Procedure attributes...

    Select the property you want to describe in the name field, type in the description in the Description field.

    Recompile the ocx, and take a look at the property from one of your projects using the ocx

    This will also be shown when the user of your contorl enters the object browser in order to take a closer look at the props of the control .
    -= a peet post =-

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Location
    Greece
    Posts
    164

    Thanks !

    Thanks Peet.

    All this time it was front of my eyes and I didn't see it !!!!




  4. #4
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    I don't blame you, that is one ridiculous small dialog box

    I read a book VBHardcore.. think the author called it "the dialog box from hell"
    -= a peet post =-

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