Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Sat Jul 05, 2008 5:47 am   

[2.30] Preselection bug revisited
 
This happened in 2.29, and I thought I had posted it, but apparently I didn't.

Originally, my post pointed out that %pick and #PICK would not hold the values, even when they started with an *. That was fixed for 2.29. The problem now?

#FORALL %pick("p:Select your choices", "*test|test2|test3|*test4|test5") {#SAY %i} (and any other variation of #PICK/%pick)

will show test and test4 highlighted, but click on another line, and the MUD clears your choices. Now, the workaround for this is to hold down Ctrl (just like you would in Windows to select multiple items not in subsequent order).

As you can imagine, this might get a bit messy. For instance, my spellup script? The variable contains 30+ spells, and about 95% of them preselected. Make one wrong click, and I have to select them all again. Anyway, I hope this is an easy fix.

Charneus
Reply with quote
Dumas
Enchanter


Joined: 11 Feb 2003
Posts: 511
Location: USA

PostPosted: Sat Jul 05, 2008 1:10 pm   
 
Is this really a bug? With multiple selections, Windows has always cleared anything if you don't hold CTRL, no matter what is selected by default. Now, not saying there may not be a way to allow preselections to be maintained, just not sure if that would be a feature or a bug.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Sat Jul 05, 2008 2:33 pm   
 
For sake of what people are used to within zMUD and CMUD (before the initial bug), it should probably go back to maintaining the preselections without you having to hold down CTRL. *shrug*

Charneus
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat Jul 05, 2008 3:20 pm   
 
I see what your saying Charneus, but remember one of Zugg's goals for CMUD is to make it behave more like a standard windows application.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jul 07, 2008 7:47 pm   
 
Yes, sorry, but CMUD is using the standard Windows List box control and that requires you to hold down the CTRL key to make multiple selections. zMUD used a custom control for this. I'll think about whether it is even possible to provide an option for this with the standard Windows control or not, but it's not an easy fix and is going to be a very low priority.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jul 07, 2008 7:49 pm   
 
Hmm, wait a sec...are you saying that this worked prior to the bug fix in v2.29? Did old versions allow you to multi-select without the Ctrl key? I didn't think the bug fix in 2.29 would cause anything like this, but maybe there was some other property value of the list component that got changed when I was messing with the 2.29 bug fix.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Mon Jul 07, 2008 10:14 pm   
 
Right. Prior to the bug found in 2.29 (or whatever version it stopped working in), you could click on an item without holding down control and it would select it. Don't know what caused it to change, though...

Charneus
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Jul 08, 2008 4:39 pm   
 
OK, I'll take a closer look at this then. The version prior to 2.29 also used the normal Windows pick list component, so it sounds like I accidentally changed one of the list properties when I was messing with the bug fix in 2.29. Hopefully it will be easy to fix.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net