I am creating a usercontrol in which I am using an Enum Type for some of the properties What I am trying to figure out how to do is how do I make the list that comes up at design time use words that cannot be used for variables in an Enum Type
here is what I am trying
Public Enum eAppearance
Private meAppearance As eAppearance
Public Property Get Appearance() As eAppearance
Appearance = meAppearance
Public Property Let Appearance(ByVal thisAppearance As eAppearance)
meAppearance = thisAppearance
When i do this I get this in the list of values i can use
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 …
Here are a few simple, working, games that you can use as-is or as the basis for your own games.
This is one of the simplest of all games.
The game allows for a choice of who goes first and keeps track of the number of wins for…
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…