?
Solved

Show info. in property window in VB5

Posted on 1998-09-04
4
Medium Priority
?
180 Views
Last Modified: 2013-11-23
When you select an object at design time in VB5 and press F4 to see the properties for that object you can click one of the properties i.e if object is textbox you can click Text property which sets/gets textbox's text when yopu click you can on the property you can see the description of that property does at the bottom of the property window.

I would like to implement such functionality into my ActiveX (OCX) control in VB5.  I hope someone can help
0
Comment
Question by:gbzhhu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 2

Expert Comment

by:dabellei
ID: 1433083
Use the property of each control and show them in a text box

Like  text1.text  =  control.text  it will show you the value on the property and then you can change it after  control.text = text1.text.

Some property are read only at design time other are read only at run time.

Maybe i misunderstand your question it look to easy.
0
 
LVL 12

Author Comment

by:gbzhhu
ID: 1433084
Sorry Dabellei, but that is not what I meant. Look here
If I create a text box and select it and press F4 then the property window will appear..Right... now if I click property text in the property window, Visual Basic will display(below the property window)exactly the following:

Text
Returns/Sets the text contained in the control


Now this is the description of the property and every other property that you click on will have a different description

This is the functionality that I am after

Thanks for trying
0
 
LVL 2

Accepted Solution

by:
wj7ster earned 320 total points
ID: 1433085
On the menu in VB, click on 'Tools|Procedure Attributes' and in the description field type the text you want to appear.  You can also use this dialog box to set the default property, hide the property from the properties window etc. (click on the 'Advanced>>' button for more options.

I think this is what you are after.
0
 
LVL 12

Author Comment

by:gbzhhu
ID: 1433086
Thanks you have given a perfect answer and it works  just beautifully
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question