View Single Post
  #6  
Unread 11-28-2007, 12:28 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Figured I'd share my simple findings in case anyone comes across this topic attempting to do the same thing.
I used this to be able to show different pages according to what was selected:
Code:
SELECTION=SelectedItem.Name
Parent.Parent.Parent.Text.Page1.visible=(SHOW ? True : False) SHOW=(Parent.Parent.Parent.Text.Page1.name == SELECTION)
Parent.Parent.Parent.Text.Page2.visible=(SHOW ? True : False) SHOW=(Parent.Parent.Parent.Text.Page2.name == SELECTION)
I've decided to just go another route, rather than try to come up with a new styled listbox. Plus, the listbox route was just kind of annoying me. It has it's uses however.

Another thing which I found annoying. I had to set the selectedrow to -1 (default) and have the first page set to visible. If I set the default row to the first one (zero), it would never show upon first opening. Just some extra useless info.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote