mIRC Home    About    Download    Register    News    Help

Print Thread
dialog / text #256978 06/03/16 12:59 PM
Joined: Sep 2005
Posts: 77
deVilbaT Offline OP
Babel fish
OP Offline
Babel fish
Joined: Sep 2005
Posts: 77
Hello,
The problem is a input & character in the dialog/text.
It only works when we don't use "" but then you can't use a comma.

mIRC 7.43
Regards.


when no one watching us
we are invisible
Re: dialog / text [Re: deVilbaT] #256990 07/03/16 02:23 PM
Joined: Dec 2002
Posts: 4,918
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,918
Thanks for your bug report. Unfortunately I have not been able to reproduce an issue with typing the & character into an editbox in a custom dialog. Can you provide a step by step example that reproduces the issue for you?

Re: dialog / text [Re: deVilbaT] #256991 07/03/16 02:36 PM
Joined: Jul 2006
Posts: 3,764
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,764
Are you talking about the character being used as a shortcut? It's a feature, you can use a double & to get a plain text &:

Code:
dialog t {
size -1 -1 400 400
button &test,1,10 10 40 20
button "&test",2,10 50 40 20
button "&&test",3,10 90 40 20
}


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: dialog / text [Re: Khaled] #257010 08/03/16 08:44 AM
Joined: Sep 2005
Posts: 77
deVilbaT Offline OP
Babel fish
OP Offline
Babel fish
Joined: Sep 2005
Posts: 77
Code:
dialog test {
 title "mIRC"
 size -1 -1 110 100
 option dbu

 tab "m", 1, 5 5 100 90
 tab "I", 2
 tab "R", 3
 tab "C", 4
 button  "m is for ... ;)", 11, 30 50 50 24, ok tab 1
 button  "I is for Internet", 12, 30 50 50 24, tab 2
 button  "R is for Relay", 13, 30 50 50 24, tab 3
 button  "C is && for Chat", 14, 30 50 50 24, tab 4
}

Example 1:
1. Run it: dialog -m test test
2. Click "Right Arrow" key on keyboard 3 times to switch into last tab "C".
3. Result: result1

Example 2:
1. Run it: dialog -m test test
2. Click "End" key on keyboard to switch into last tab "C".
3. Result: result2


when no one watching us
we are invisible