/
Forside
/
Teknologi
/
Udvikling
/
VB/Basic
/
Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn
*
Kodeord
*
Husk mig
Brugerservice
Kom godt i gang
Bliv medlem
Seneste indlæg
Find en bruger
Stil et spørgsmål
Skriv et tip
Fortæl en ven
Pointsystemet
Kontakt Kandu.dk
Emnevisning
Kategorier
Alfabetisk
Karriere
Interesser
Teknologi
Reklame
Top 10 brugere
VB/Basic
#
Navn
Point
1
berpox
2425
2
pete
1435
3
CADmageren
1251
4
gibson
1230
5
Phylock
887
6
gandalf
836
7
AntonV
790
8
strarup
750
9
Benjamin...
700
10
tom.kise
610
what kind of box is this?
Fra :
sjoerd
Dato :
10-06-03 15:47
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
Don@home.com (
10-06-2003
)
Kommentar
Fra :
Don@home.com
Dato :
10-06-03 16:16
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
Arijit (
10-06-2003
)
Kommentar
Fra :
Arijit
Dato :
10-06-03 19:42
"sjoerd" <iwi@iwi.myweb.nl> wrote in message news:<bc4r1g$bh6$1@news4.tilbu1.nb.home.nl>...
> 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
You will have to use a owner-drawn listbox, which is very difficult to
create from vb. You will therefore have to use a third-party control.
You might even get a free one on the internet. However, if you are willing
to use a combo box, you can use the ImageCombo control.
Søg
Alle emner
Teknologi
Udvikling
VB/Basic
Indstillinger
Spørgsmål
Tips
Usenet
Reklame
Statistik
Spørgsmål :
177496
Tips :
31968
Nyheder :
719565
Indlæg :
6408491
Brugere :
218887
Månedens bedste
Årets bedste
Sidste års bedste
Copyright © 2000-2024 kandu.dk. Alle rettigheder forbeholdes.