Solved

Show info. in property window in VB5

Posted on 1998-09-04
4
173 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
  • 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 80 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now