Solved

Show info. in property window in VB5

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

734 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