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
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Aug 01, 2012 12:56 pm   

bring a child window to the front [solved]
 
I have a lot of chat capture windows docked at the top in a tabbed style setup... |All|Gossip|Info|Freind...

Normally the "All" window is in front... in zmud i had a simple alias so i could switch to say Gossip and retain focus in the main window...

#ALIAS win {%1:;Private:}

"win Gossip" would bring the Gossip child window to the front then return me to the command line in "Private" below.

This no longer works as the alias does nothing to the child window and sends Private: to the main "Private" window.

In the alias if i add something to do ater the : it does the command but still doesnt change focus...

#ALIAS win {%1:#SHOW focused;Private:#Show focused}

Giving cMud 1 last shot, using 3.34... how to fix this?


Last edited by Private on Wed Aug 01, 2012 1:52 pm; edited 1 time in total
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Aug 01, 2012 1:06 pm   
 
Window: in zmud has always shifted focus to windowname. :windowname: is the form that allows the calling window (usually the main window) to retain focus.
_________________
EDIT: I didn't like my old signature
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Aug 01, 2012 1:20 pm   
 
typing:

:Gossip: <--- from the main window command line does nothing (not even clear the green activity dot)

Gossip: <--- ditto

:Gossip <--- tried once, sends to "imm" channel as : is a shortcut to "imm"

:Gossip:#show 1 <--- shows 1 in gossip, sets activity dot

Gossip:#show 1 <--- ditto

what i want to be able todo is type "win gossip" and bring the gossip window to the front,clear the activity dot, and retain commline in the main window...



the gtell window is in the front atm... from the command line i want to clear the activity dot and switch back to all while maintaining the command line focus in my main window.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Wed Aug 01, 2012 1:28 pm   
 
#WIN windowname

Should do what you want, when entered from the command line it does not change my focus off the command line.

You could also edit the properties of each window (click to give it focus first)
On the 'Window options' tab of User Interface you can set the window to come to the front with activity.
_________________
Discord: Shalimarwildcat
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Aug 01, 2012 1:52 pm   
 
Good enough... i was using the other way cause the simple "#WIN name" would steal focus in zMud :P

This is the way i expected it to work in zMud all along :P

Now to kill all the other 1000's of compatibility errors...
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