Article View: comp.lang.basic.visual
Article #242Re: what kind of box is this?
From: Don
Date: Tue, 10 Jun 2003 15:16
Date: Tue, 10 Jun 2003 15:16
23 lines
1948 bytes
1948 bytes
On Tue, 10 Jun 2003 16:47:02 +0200, "sjoerd" <iwi@iwi.myweb.nl> wrote: >Hi, > >I want to create a listbox containing images with descriptions. I've seen >them for example in Excel where you have the possibility to change the >background color of a call. When clcicking this option a box is displayed >with a column of colored rectangles with the colorname written behind it. > >How do they do this? > >Sjoerd > ListBox? NO... Labels! YES... Set up a Label Control array (one for each color you want) and set each BackColor to the colors needed and the Caption to the Name (if needed). In the Click Event use the BackColor for your settings... Food for thought Have a good day... Don
Technical Details
Message-ID:
<54tbev0j6vjvfepeavdpcdm6mrj0veh4cr@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!chi1.webusenet.com!news.webusenet.com!cyclone1.gnilink.net!spamkiller.gnilink.net!nwrddc04.gnilink.net.POSTED!1fcba382!not-for-mailReferences:
<bc4r1g$bh6$1@news4.tilbu1.nb.home.nl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110e3b,7e7f388a79c20530 X-Google-Attributes: gid110e3b,public X-Google-Thread: f645d,7e7f388a79c20530 X-Google-Attributes: gidf645d,public X-Google-Thread: f51ba,7e7f388a79c20530 X-Google-Attributes: gidf51ba,public X-Google-ArrivalTime: 2003-06-10 08:16:12 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!chi1.webusenet.com!news.webusenet.com!cyclone1.gnilink.net!spamkiller.gnilink.net!nwrddc04.gnilink.net.POSTED!1fcba382!not-for-mail From: Don@home.com Newsgroups: comp.lang.basic.visual,comp.lang.basic.visual.misc,dk.edb.programmering.basic.visual-basic Subject: Re: what kind of box is this? Message-ID: <54tbev0j6vjvfepeavdpcdm6mrj0veh4cr@4ax.com> References: <bc4r1g$bh6$1@news4.tilbu1.nb.home.nl> X-Newsreader: Forte Free Agent 1.92/32.572 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 23 Date: Tue, 10 Jun 2003 15:16:11 GMT NNTP-Posting-Host: 67.225.111.71 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc04.gnilink.net 1055258171 67.225.111.71 (Tue, 10 Jun 2003 11:16:11 EDT) NNTP-Posting-Date: Tue, 10 Jun 2003 11:16:11 EDT