Solved

User pointer in GUI controls

Posted on 2000-02-13
1
138 Views
Last Modified: 2010-05-02
Do GUI controls in VB have a spare pointer/property that the programmer can use to point to his own object?

In Delphi, there is - and its called a 'tag' property.

It would typically be available for each GUI control.  If so, is this property also available under Visual C++?
0
Comment
Question by:abulka
1 Comment
 
LVL 3

Accepted Solution

by:
Gordonp earned 50 total points
ID: 2517962
All Controls in VB have a Tag property, however for a lot of controls this just holds a text string.

The Tag property for the MS Common Controls with VB6 holds a Variant type so you can assign an object.

As for C++ you'd have to ask the C++ guys.

Gordon
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Share codes 68 115
ms access #TYPE! error on report when no data 4 51
Excel VBA combine two working workbooks 8 39
using Access 8 52
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

760 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

23 Experts available now in Live!

Get 1:1 Help Now