|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Enum sortIs there any way of sorting items in Enum?
For example, let's take this declaration: Enum SecurityLevel IllegalEntry = -1 MinimumSecurity = 0 MaximumSecurity = 1 End Enum When I type securityLevel and press dot, I want them to be displayed in the order I declared them above, not alphabetically. Thanks. > When I type securityLevel and press dot, I want them to be displayed in I suspect not...the > order I declared them above, not alphabetically. I came across a real annoyance in intellisense today. We've got a situation where two methods are found called CreateObject and CreateObjectTree. When you type c r e a t e o b intellisense comes up with the second one - CreateObjectTree. Now whilst this is a distinct annoyance (I think it should display the first) what's wrong is that even if you press up-arrow to select the item above (CreateObject) it *still* inserts CreateObjectTree. You can to accept this and manually delete the Tree bit. Rob. |
|||||||||||||||||||||||