Solved

User pointer in GUI controls

Posted on 2000-02-13
1
140 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

810 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