Article View: comp.lang.basic.visual
Article #265"List" property category
From: Henning Berggren J�rgensen
Date: Tue, 09 Oct 2001 18:11
Date: Tue, 09 Oct 2001 18:11
27 lines
1927 bytes
1927 bytes
Hi there,
anyone knows how to make a custom property on a user control, which is shown
as a list in the property list... - like the list property in a listbox
where you can enter the list values (seperated with a Ctrl-Enter).
I've tried to make a property by this:
--- START ---
Private mList(10) As String
Public Property Get List(Index As Integer) As String
List = mList(Index)
End Property
Public Property Let List(Index As Integer, Value As String)
mList(Index) = Value
End Property
--- END ---
And set the Property Category (in the Procedure Attributes) to "List".
I thought this would have been it, but it doesn't seem to work.
What do I do wrong?
Regards, Henning
Technical Details
Message-ID:
<h4Hw7.18547$lk7.298502@news.get2net.dk>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.227.3.83!newsfeed1.uni2.dk!news.get2net.dk!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f51ba,2a4d08c125602828,start X-Google-Attributes: gidf51ba,public X-Google-Thread: f645d,2a4d08c125602828,start X-Google-Attributes: gidf645d,public X-Google-Thread: fb992,2a4d08c125602828,start X-Google-Attributes: gidfb992,public X-Google-ArrivalTime: 2001-10-09 11:10:23 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.227.3.83!newsfeed1.uni2.dk!news.get2net.dk!not-for-mail From: "Henning Berggren J�rgensen" <henning.berggren@NSget2net.dk> Newsgroups: comp.lang.basic.visual,comp.lang.visual.basic,dk.edb.programmering.basic.visual-basic Subject: "List" property category Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: <h4Hw7.18547$lk7.298502@news.get2net.dk> Date: Tue, 9 Oct 2001 20:11:07 +0200 NNTP-Posting-Host: 195.82.196.75 X-Complaints-To: abuse@get2.net X-Trace: news.get2net.dk 1002651021 195.82.196.75 (Tue, 09 Oct 2001 20:10:21 MET DST) NNTP-Posting-Date: Tue, 09 Oct 2001 20:10:21 MET DST Organization: get2net Internet Kunde