Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 03-05-2004, 12:00 AM   #1 (permalink)
Insane
 
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
__________________
My sig can beat up your honor student.
mpedrummer2 is offline  
Old 03-05-2004, 12:07 AM   #2 (permalink)
Upright
 
Are you referring to a ListBox?

Not quite sure I understand what you mean (image comes from google img search on listbox)
mgcloud is offline  
Old 03-05-2004, 12:42 AM   #3 (permalink)
Insane
 
Kinda. Imagine that, with buttons on the side to let you move individual items in the list up and down.
__________________
My sig can beat up your honor student.
mpedrummer2 is offline  
Old 03-05-2004, 01:19 AM   #4 (permalink)
Insane
 
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
__________________
My sig can beat up your honor student.
mpedrummer2 is offline  
Old 03-05-2004, 02:06 AM   #5 (permalink)
paranoid
 
Silvy's Avatar
 
Location: The Netherlands
Quote:
Originally posted by mpedrummer2
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.
The Filter systems in some mail clients come to mind. Is that the kind of functionality that you want?
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.
__________________
"Do not kill. Do not rape. Do not steal. These are principles which every man of every faith can embrace. "
- Murphy MacManus (Boondock Saints)
Silvy is offline  
Old 03-05-2004, 05:08 AM   #6 (permalink)
Psycho
 
zaiaz's Avatar
 
Location: State of confusion...wait that's medication.
Is it maybe a drop down box that will sort and update your data?
__________________
Self destruction - "Its my Nature", said the Scorpion...
zaiaz is offline  
Old 03-05-2004, 06:49 AM   #7 (permalink)
"Officer, I was in fear for my life"
 
hrdwareguy's Avatar
 
Location: Oklahoma City
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
    {
        i=listbox1.itemindex;
        listbox1.insert(i-1,listbox.strings[i];
        listbox1.delete(i);
    }
That would move it up, simular code for moving it down.
__________________
Gun Control is hitting what you aim at

Aim for the TFP, Donate Today
hrdwareguy is offline  
Old 03-05-2004, 11:21 AM   #8 (permalink)
Insane
 
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...
__________________
My sig can beat up your honor student.
mpedrummer2 is offline  
Old 03-05-2004, 05:08 PM   #9 (permalink)
Junkie
 
Location: San Francisco
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.

Last edited by n0nsensical; 03-05-2004 at 11:16 PM..
n0nsensical is offline  
Old 03-06-2004, 01:38 AM   #10 (permalink)
Insane
 
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
__________________
My sig can beat up your honor student.
mpedrummer2 is offline  
Old 03-09-2004, 01:53 PM   #11 (permalink)
Addict
 
Location: Ottawa, ON, Canada
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?
__________________
"A witty saying proves nothing"
- Voltaire
Quadraton is offline  
Old 03-09-2004, 05:58 PM   #12 (permalink)
Insane
 
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
__________________
My sig can beat up your honor student.
mpedrummer2 is offline  
Old 03-09-2004, 08:30 PM   #13 (permalink)
Addict
 
Location: Ottawa, ON, Canada
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
__________________
"A witty saying proves nothing"
- Voltaire
Quadraton is offline  
 

Tags
callnot, joke


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 09:19 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360