Solved

property value

Posted on 2002-05-20
1
130 Views
Last Modified: 2010-05-02
How do I define a property so that when you hit the '=' key the inteli-sense brings up a list to choose from?
0
Comment
Question by:thenrich
1 Comment
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 7021948
create an enumeration

public enum MyEnum
  value1 = 1
  value2 = 2
end enum

and declare your property as of this enum

public MyProperty as MyEnum
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
add text to end of existing text in file 16 71
MS Access - Capture pressed key onclick 4 33
TT Auto Dashboard 13 92
VB6 - Scroll Mouse wheel on Picturebox 13 44
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

831 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