Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
how do you have a clickable icon in dialog
Forums
Active Threads
Search
Who's Online
Help
Print Thread
how do you have a clickable icon in dialog
#
672
09/12/02
07:01 PM
P
PHMinistries
PHMinistries
P
is it possible to have a clickable icon in a dialog? that you could click it and make it do an action?
Copy Link to Clipboard
Re: how do you have a clickable icon in dialog
#
673
09/12/02
07:05 PM
M
Merlin
Merlin
M
you can do it if you supply the ID of your icon in the SCLICK event:
Code:
ON 1:DIALOG:DialogName:SCLICK:IDofICON: { echo -s You just clicked an icon }
Copy Link to Clipboard
Re: how do you have a clickable icon in dialog
#
674
09/12/02
08:18 PM
P
PHMinistries
PHMinistries
P
yes but in the actuall dialog box how do you do it?
Copy Link to Clipboard
Re: how do you have a clickable icon in dialog
#
675
09/12/02
10:51 PM
K
KennyJ
KennyJ
K
You have to set the icon with a ID number, with the filename.ico then put a SLICK as the other username state before.
Copy Link to Clipboard
Re: how do you have a clickable icon in dialog
#
676
09/12/02
11:00 PM
F
Frog
Frog
F
Here is an example:
dialog test {
title "Test"
size -1 -1 100 100
button "OK", 1, 1 1 10 10, ok
icon 2, bah.ico, 10 10 10 10, noborder (noborder is optional)
}
on *:dialog:test:sclick:2:echo -a You've clicked on an icon.
Anyway.
Copy Link to Clipboard
Re: how do you have a clickable icon in dialog
#
677
09/12/02
11:07 PM
P
PHMinistries
PHMinistries
P
oh kewl now i understand thanks
Copy Link to Clipboard
Re: how do you have a clickable icon in dialog
#
678
09/12/02
11:15 PM
F
Frog
Frog
F
Welcome.
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage