mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2008
Posts: 44
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2008
Posts: 44
Hi.
just a few dialog related questions.

what does the return & pass style in the editbox control in dialogs do ?

the group style is supposed to signify the start of a group. how do you signify the end of a group ?

Thankyou
-

Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Return will make it like an ok button. You type in text and press return.

Pass will make the text appear as asterik's for a password.

#group on
#group end

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
In a dialog, group indicates the start of the group, but there is nothing to indicate the end of a group.
Please note that grouping is, realistically, only effective for radio buttons.
The group will "stop" when a non-radio button is encountered in the dialog layout or when another group is encountered.

Joined: Mar 2008
Posts: 44
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2008
Posts: 44
thx for the clear explanation i understood the groups thing

just bear with me a bit here concerning the "return" style. I tried it & nothing happens. - I hit enter after typing the text, then what ? - I was hoping that i could collect the text & clear the editbox after the typing is complete (assuming hitting enter signifies this)... cause there seems no straight way to do this [people have suggested making an invisible default button] $did($did) just keeps returning txt as its typed.

thanks for the replies guys.
-

Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156

on *:dialogname:sclick:<id>:{ commands here }

/help on dialog

Joined: Mar 2008
Posts: 44
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2008
Posts: 44
what's the role of the "return" style if i have to click something ? - i could script that anyway without the return style like i mentioned in my last post



Last edited by Nightstorm; 03/09/09 12:42 PM.
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
You press the enter button. "click"

Joined: Jul 2006
Posts: 4,153
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,153
return Specifies that a carriage return be inserted when the user presses the ENTER key while entering text into a multiline edit control in a dialog box.

If you want a multiline edit, use 'multi' combined with 'return'


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Mar 2008
Posts: 44
N
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2008
Posts: 44
Thanks a lot : ) that cleared it up for me.


Link Copied to Clipboard