|
-
Jun 22nd, 2000, 04:23 PM
#1
Thread Starter
New Member
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.
-
Jun 22nd, 2000, 05:05 PM
#2
Hyperactive Member
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 :-(
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|