![]() |
What do you call...(not a joke)
What's the correct term for the input boxes you get in programs that have buttons beside them that allow you to re-order the contents of the box?
I'm trying to google for it to learn how to do it, but I'm having no luck since I don't know what the hell it's called. MPEDrummer |
Are you referring to a ListBox?
Not quite sure I understand what you mean (image comes from google img search on listbox) |
Kinda. Imagine that, with buttons on the side to let you move individual items in the list up and down.
|
Maybe explaining what I'm trying to do would help...
I'm making a "rules" system, that will be applied to results from a database as it's displayed, color coding them, etc. The rules themselves are stored in a database. The only issue I'm having now is an easy-to-use interface for reordering the rules. I was thinking of having a listbox that could rearrange them, then an UPDATE command to...update...the order. Beh...anyway, I'm tired, and it's late. MPEDrummer |
Quote:
I'm thinking of the Thunderbird Mail client, but I believe Eudora and Netscape have similar boxes. I don't know a specific term for that "box" though. I think you'll need to use a listbox with seperate buttons and then program the actions behind the buttons to adjust the ordering. I don't think any programming environment has such a "rules-box" as a standard component. |
Is it maybe a drop down box that will sort and update your data?
|
Like Silvy said, you will want a list box and a couple of buttons the conde in the buttons will look something like this:
Code:
if listbox.item > -1 then |
Yeah, Silvy's on the right track, that's pretty much the functionality I'm trying to offer.
I wish this wasn't an intranet site, then I could show you guys... |
I think what you're looking for is a spin control.
Edit--Nevermind, it's not a spin control. I do know what you're really talking about, but I don't know of any specific name for it, just a specialized listbox. |
Actually, I did manage to come up with a solution...Googling for 'listbox reorder javascript' eventually led me to a freeware script that I'm working on modifying now...just gotta learn a bit of Javascript to do so...I'm mainly a PHP/MySQL guy, but I'm getting there, and really beginning to see the usefulness of client-side scripting.
MPEDrummer |
All I can think of from your description is the Header Control, which is often used as part of the Listbox Control.
Header Control : Code Project If that isn't it, could you provide a common example of another application that uses the control your describing? |
That looks like complete overkill :)
Think Outlook's "Rules Wizard"...you gotta apply the rules in the right order, or it doesn't work out the way you want. The thing I'm creating/borrowing is a GUI to easily reorder things. MPEDrummer |
Okay, for a moment there, I thought from your original description you were looking for a specific Windows control, of which one doesn't exist as you describe.
Rather, I think what you're describing is what the 'Move Up' and 'Move Down' buttons in the "Rules Wizard" do. In which case, I don't think there is a specific term for that. They just happen to be simple push buttons that grab a handle to the listbox, and change the order of the contents of the listbox through simple listbox function calls. Other than that, it's obvious I probably won't be very much help in this thread :) |
All times are GMT -8. The time now is 11:26 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project