mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2003
Posts: 16
P
parad0x Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: May 2003
Posts: 16
edit "12345",10,19 52 23 11,autohs

I have a dialog....with 2 radio buttons (not the issue here)...a check box, and an editbox with the default text of 12345. Is there a way to have the editbox text, i.e., 12345 change to the value of a preset variable when you check the check box?

I.e., dialog pops up...edit box contains 12345, user checks the check box, and the edit box text changes to %variable

I'm kinda new to dialogs...so bare with me smile

Thanks
PaRaD0x

Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
on *:dialog:DNAME:sclick:ID:{ did -ra $dname 10 %variable }
DNAME is the name of the dialog
ID is the id of the check box
that will work when u click on the check box, if u want it to work only if the check box is checked use if ($did($did).state)

Joined: May 2003
Posts: 16
P
parad0x Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: May 2003
Posts: 16
Thanks Again ScatMan! smile

PaRaD0x


Link Copied to Clipboard