Solved

Show info. in property window in VB5

Posted on 1998-09-04
4
176 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

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…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

749 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