Re: [WIN] "open" simple combo box programmatically
- Posted by Derek Parnell <dparnell at BIGPOND.NET.AU> Oct 20, 2000
- 551 views
It sounds like the second box needs to be a list box who's height you control programatically. Each time a category is selected in the first box, clear the second one and populate it with the related data and recalculate it's height. You can set a maximum height and add a scroll bar if required. ------ Derek Parnell Melbourne, Australia (Vote [1] The Cheshire Cat for Internet Mascot) ----- Original Message ----- From: "Dan B Moyer" <DANMOYER at PRODIGY.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Friday, October 20, 2000 6:20 PM Subject: [WIN] "open" simple combo box programmatically > Is it possible to "open" a simple combo box programmatically? > > By that I mean, if you have a simple combo box and you click on the element > of the list that's displayed in the "edit" box portion of it, then the > *list* unfolds & is displayed; but can you force it to "open" or "unfold" > programmatically? > > I have two related combo boxes, one has *categories* of things, the other is > then populated with the appropriate things depending on what category is > chosen, but I want the second combo box to automatically unfold when a > category is chosen in the first combo box. Can this be done, & if so how? > > Dan Moyer