Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[Update] Complete GDI listbox with scroll, and Sky Dark free

Yes at last :) Great as always Tedd.
xD I love all your comments on the controls in the image Tedd.

Anyway, looks beast as fuck. By the way, I hope you don't mind but I'll probably be using your listbox in most of my themes... o.o

:)
Holy tits man, this is awesome! Lol...
Is it possible to dynamically add items to the Listbox? I cannot seem to find away.
(Dec 31, 2012 06:46 PM)Delegate Wrote:  Is it possible to dynamically add items to the Listbox? I cannot seem to find away.

What method are you using to add items to it to begin with? This is not your typical listbox. It is better, but I am having some troubles adding items to it.
(Dec 31, 2012 06:56 PM)soviet87 Wrote:  What method are you using to add items to it to begin with? This is not your typical listbox. It is better, but I am having some troubles adding items to it.

Just click on the "Items" property that will add an SkyDarkItem then you change the text property for that.
(Dec 31, 2012 07:00 PM)Delegate Wrote:  Just click on the "Items" property that will add an SkyDarkItem then you change the text property for that.

Okay, so yea you are in the same boat as I. I feel so stupid for not being able to figure out how to add items through code. Standard list box is easy, but sucks a big ole one when it comes to looks compared with this beast.
(Dec 31, 2012 07:02 PM)soviet87 Wrote:  Okay, so yea you are in the same boat as I. I feel so stupid for not being able to figure out how to add items through code. Standard list box is easy, but sucks a big ole one when it comes to looks compared with this beast.

Haha same I will take a closer look in a bit (when I can be assed).
Probably worlds shittiest example, but none the less, here we go!

Dim test, test1, test2, test3, test4 As New SkyDarkItem()
test.Text = "poop"
test1.Text = "Hello"
test2.Text = "Sup"
test3.Text = "nothing"

Me.SkyDarkListBox1.Items = New SkyDark.SkyDarkItem() {test, test1, test2, test3}
Life would have been a whole lot more fun if everyone advertised like that. You defently made my day.

Oh, and I really like the .. colors. The gray is just perfect, not to dark, not to bright, brings back good memories from my childhood before color TV. The blue with all it's skyiness blends well with the gray.
I also really like the checkbox and the radiobutton. It kind'a bugs me that the light in the checked radio button dosn't seem to be excactly in the middle however. It makes it look like a eye in a way, kind'a creepy actually. The lack of a pupil makes it even more terrifying, it dosn't look human at all, and it stares.

The more you look at it, the harder it stares. Burning with the power of a thousand suns. Deep, deep into you, far beyond your physical body; it reads your thoughts, it stares at your soul. It know your past, it know what you've done. It know who took the cookie from the cookie jar.

I actually feel both scared and guilty at the same time here, so i'm gonna cut it off here and wish you a happy new year, great work!
This is horrid with Option Strict on, which shows that there's some improvements to be made still, but for the idea it's not too bad.

edit: Yeah lol... This is a fail with implicit type casts that Option Strict would be strict about... Some of the things in here are not great. It's kind of dissapointing from what I originally thought.

Some improvements though, create an Add() method to add stuff to the listbox dynamically so that we don't have to do stuff like this:
Code
Dim items As New List(Of SkyDarkItem)
items.Add(New SkyDarkItem() With {.Text = "Item 1"})
items.Add(New SkyDarkItem() With {.Text = "Item 2"})
items.Add(New SkyDarkItem() With {.Text = "Item 3"})
items.Add(New SkyDarkItem() With {.Text = "Item 4"})
items.Add(New SkyDarkItem() With {.Text = "Item 5"})
SkyDarkListBox1.Items = items.ToArray()

At the least, you could also use the SkyDarkItem constructor to assign the Text value. Take the ListViewItem class for example. Even a regular listbox has an Add() method.
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]
http://img818.imageshack.us/img818/5569/58467563.png
I seem to be receiving this strange display issue using this code:

" With SkyDarkCombo1
.DataSource = ds.Tables("hwid_programs")
.DisplayMember = "program"
End With"

Any ideas?
your radiobutton - the inner circle is off centre and is killing me -.-
Here you go guys! It isn't perfect, but I fixed the option strict errors and added a .Add(SkyDarkItem) function and a .Clear() function.

http://pastebin.com/raw.php?i=6vHD2tZ7

Usage is pretty simple.
Code
<SkyDarkListBoxName>.Add(New SkyDarkItem("Text Here"))

.Clear() will just remove all items in the List Box.

Should work pretty well and shouldn't have any bugs. Enjoy!
That thread design made me fucking LOL. Awesome work man :)


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by ๖ۣۜMephobiaNov 14, 2025 07:54 PM 171 21,487 Nov 14, 2025 07:54 PM
Last Post: ProxyLand
[.NET] by QuobiAug 6, 2022 02:23 PM 0 407 Aug 6, 2022 02:23 PM
Last Post: Quobi
[.NET] by PolarisGangJun 21, 2022 10:09 AM 1 353 Jun 21, 2022 10:09 AM
Last Post: gigajew