Results 1 to 7 of 7

Thread: How to code a textbox text or label caption like property???

  1. #1

    Thread Starter
    Hyperactive Member toughcoder's Avatar
    Join Date
    Nov 2002
    Location
    Near, Very Near
    Posts
    340

    Question How to code a textbox text or label caption like property???

    Hello fellow programmers,
    i would like to know how is it possible to code a textbox text property like property. What i want is whenever the user types a character it must be instantly reflected in a label. Thanx in advance

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    If I understand you, goto Tools > Procedure Attributes. Then select the propery from the Name combo box and hit advanced. Now set the procedure ID to Caption.

  3. #3

    Thread Starter
    Hyperactive Member toughcoder's Avatar
    Join Date
    Nov 2002
    Location
    Near, Very Near
    Posts
    340

    Thumbs up Thanx

    Thanx Rick Bull, U got my problem right. And what u said really worked. Now I have got a Text1.text like property. Thanq 1ce again

  4. #4
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    No problem. It's a handy thing to know, because you can group your properties, and specify where they will appear in the properties window too, as well as adding descriptions and stuff.

  5. #5

    Thread Starter
    Hyperactive Member toughcoder's Avatar
    Join Date
    Nov 2002
    Location
    Near, Very Near
    Posts
    340

    Question

    Hi Rick Bull, u told that u can group properties and also add description, can u give a detail on how we can do that???

  6. #6
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Just go to the procedure attributes like before, then select a property and in the description in the Description text box. That will appear at the bottom of Properties window when you select a property. And also you can set the Property Category for each attribute via the combo box. The user interface default checkbox lets you make one of your properties the one that appears when you double click and active X in the VB IDE.

  7. #7

    Thread Starter
    Hyperactive Member toughcoder's Avatar
    Join Date
    Nov 2002
    Location
    Near, Very Near
    Posts
    340
    Thanx Rick Bull, u have been of gr8 help buddy....

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