-
Hi,
I'm writting a component, and I provide some public classes, functions and enums. It's easy to add a description for each function using the Procedure Attributes Dialog. For the classes, I modify the .cls file using the Notepad, and I add a line like this:
Attribute VB_Description = "Some useful description here"
Those descriptions can be seen using the Object Browser.
But I don't know how to add a description to an enum, and also for each member on an enum.
So, that's my question:
***How can I create an enum description?***
TIA,
-Miquel.
-
I haven't tried it, but I was told if you create your enum in a typelibrary, you can add descriptions there, and then it should work. AFAIK there's now way in straight VB code. (I remember if I asked that question here or on the codeguru vb webboard, search for my postings, you might find the answer including a sample tlb (I lost it when WinNT suddenly deleted my admin account, so I lost everything :-(