| | |
listbox to respond to another listbox
Please support our Graphics and Multimedia advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
hi
I have a main listbox, which the content is in form of dynamic arrays. Upon click on some of the item in the listbox, some other arrays are suppose to appear in another listbox, by checking that both of them have the same "title".
I was thinking of using listener to listen to the main listbox, but it does not work. Can anyone suggest a better way to solve this?
btw, i saw one tutorial at www.flash-mx.com its something like the dependable combobox tutorial, but the arrays are 2 different arrays, unlike the one in the tutorial.
thanks
I have a main listbox, which the content is in form of dynamic arrays. Upon click on some of the item in the listbox, some other arrays are suppose to appear in another listbox, by checking that both of them have the same "title".
I was thinking of using listener to listen to the main listbox, but it does not work. Can anyone suggest a better way to solve this?
btw, i saw one tutorial at www.flash-mx.com its something like the dependable combobox tutorial, but the arrays are 2 different arrays, unlike the one in the tutorial.
thanks
•
•
Join Date: Mar 2007
Posts: 59
Reputation:
Solved Threads: 5
With:
You can detect which item is clicked
With you can add an item to the second listbox.
Or:
But here you have to know how many items are in List1!
Graphics and Multimedia Syntax (Toggle Plain Text)
Private Sub List1_Click() MsgBox List1.ListIndex End Sub
With
Graphics and Multimedia Syntax (Toggle Plain Text)
List2.AddItem "blablabla"
Or:
Graphics and Multimedia Syntax (Toggle Plain Text)
Private Sub List1_Click() Select Case List1.Listindex Case 0 msgbox "1st item" Case 1 msgbox "2nd item" Case 2 msgbox "3th item" Case Else msgbox "oeps dunno?" End Select End Sub
Last edited by PVBert; Mar 21st, 2007 at 7:58 pm.
![]() |
Similar Threads
- To drag and drop multiple listbox items from one listbox control to another (ASP.NET)
- Tkinter Listbox Preselect (Python)
- Select files in a listbox (Python)
- listbox (Visual Basic 4 / 5 / 6)
- Listbox (Visual Basic 4 / 5 / 6)
- Listbox Help (Visual Basic 4 / 5 / 6)
- retrieving "Data" from Listbox (VB.NET)
Other Threads in the Graphics and Multimedia Forum
- Previous Thread: Help resizing bitmaps
- Next Thread: flash problem
| Thread Tools | Search this Thread |
3d 10 actionscript3 adobe adobeacrobat adobereader air ajax amazon amf apple button cart childprotection cloud dashboard dell design dojofoundation dreamweaver ebay eclipse ecommerce elasticcomputecloud embed endorsement extra family flash flash-develop flashlite flex free harddrive iamthwee ibm illustrator imflash intel interactivemap javafx javascript laptop legal map micron microsoft mobile monitoringsoftware moonlight multimedia myspace nand news novell panorama pdf pedophiles photoshop photosynth php safety sandisk security shopping silverlight solidstatedrive sproutcore ssd streaming swf table ukmap unload unwanted video vulnerability web white.space xml zend zephyr zeroday





