From WikiChip
Editing mirc/dialog components
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | __NOTOC__{{ | + | __NOTOC__ |
+ | {{mIRC Guide}} | ||
'''Dialog Components''' are individual [[Dialogs - mIRC|dialog]] elements that can be added onto the main dialog window. Below is a list of all the natively provided dialog components in [[mIRC]]. | '''Dialog Components''' are individual [[Dialogs - mIRC|dialog]] elements that can be added onto the main dialog window. Below is a list of all the natively provided dialog components in [[mIRC]]. | ||
Line 10: | Line 11: | ||
| [[File:MIRCdlgButton_n.png|link=#Button|center|135px]] | | [[File:MIRCdlgButton_n.png|link=#Button|center|135px]] | ||
|| [[File:MIRCdlgCheck_n.png|link=#Check|center|135px]] | || [[File:MIRCdlgCheck_n.png|link=#Check|center|135px]] | ||
− | || [[File:MIRCdlgToggle_n.png|link=# | + | || [[File:MIRCdlgToggle_n.png|link=#Toggle_Button|center|135px]] |
|| [[File:MIRCdlgLabel_n.png|link=#Text|center|135px]] | || [[File:MIRCdlgLabel_n.png|link=#Text|center|135px]] | ||
|- style="color: rgba(0,0,0,.65);" | |- style="color: rgba(0,0,0,.65);" | ||
− | ! Group | + | ! Group !! Icon !! Edit !! Scroll |
|- | |- | ||
− | | [[File:MIRCdlgGroup_n.png|link=# | + | | [[File:MIRCdlgGroup_n.png|link=#Group|center|135px]] |
|| [[File:MIRCdlgImage_n.png|link=#Icon|center|135px]] | || [[File:MIRCdlgImage_n.png|link=#Icon|center|135px]] | ||
|| [[File:MIRCdlgText_n.png|link=#Edit|center|135px]] | || [[File:MIRCdlgText_n.png|link=#Edit|center|135px]] | ||
Line 284: | Line 285: | ||
− | == Group | + | == Group == |
This is a static control with a group box frame and an optional title that shows up at the top of the frame. | This is a static control with a group box frame and an optional title that shows up at the top of the frame. | ||
− | |||
− | |||
− | |||
=== Synopsis === | === Synopsis === | ||
Line 298: | Line 296: | ||
! Style !! Description | ! Style !! Description | ||
|- | |- | ||
− | | disable || Disables the group | + | | disable || Disables the group. |
|- | |- | ||
− | | hide || Makes the group | + | | hide || Makes the group invisible. |
|- | |- | ||
| result || In modal mode, returns the text of the button. | | result || In modal mode, returns the text of the button. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Line 503: | Line 494: | ||
==== $did ==== | ==== $did ==== | ||
− | $did(<name>,<id> | + | $did(<name>,<id>)[.property] |
Without any property, return the text (caption) of the editbox, same as the .text property | Without any property, return the text (caption) of the editbox, same as the .text property | ||
Properties: | Properties: | ||
− | * .text - returns the text of the editbox | + | * .text - returns the text of the editbox (caption) |
* .len - returns the length of the editbox's text (caption) | * .len - returns the length of the editbox's text (caption) | ||
* .lines - returns the number of lines in the editbox | * .lines - returns the number of lines in the editbox | ||
Line 542: | Line 533: | ||
option dbu | option dbu | ||
− | edit " | + | edit "Lef", 1, 10 10 80 20, |
edit "Center", 2, 10 40 80 20, center | edit "Center", 2, 10 40 80 20, center | ||
edit "Right", 3, 10 70 80 20, right | edit "Right", 3, 10 70 80 20, right | ||
Line 627: | Line 618: | ||
== Link == | == Link == | ||
A link control, just like a label, is a static control with the additional behavior that, when you put your mouse over the control, the cursor because a little hand, indicating you can interact with that link, usually to open an URL. | A link control, just like a label, is a static control with the additional behavior that, when you put your mouse over the control, the cursor because a little hand, indicating you can interact with that link, usually to open an URL. | ||
− | |||
− | |||
=== Synopsis === | === Synopsis === | ||
Line 689: | Line 678: | ||
link "http://www.wikichip.org/", 1, 4 10 80 12 | link "http://www.wikichip.org/", 1, 4 10 80 12 | ||
button "Done", 4, 50 30 40 12, ok | button "Done", 4, 50 30 40 12, ok | ||
− | } | + | }</source> |
− | |||
− | |||
<div style="display: block; text-align: center;">[[File:MIRCdlgLink Example.png]]</div> | <div style="display: block; text-align: center;">[[File:MIRCdlgLink Example.png]]</div> | ||
Line 783: | Line 770: | ||
| result || In modal mode, returns the text of the button. | | result || In modal mode, returns the text of the button. | ||
|- | |- | ||
− | | group || | + | | group || Groups severals radios together, only one can be checked at a time. |
|} | |} | ||
Line 858: | Line 845: | ||
== Tab == | == Tab == | ||
A tab control is a container component capable of holding all of the other components. A tab control can have multiple tabs, and each tab can store another set of controls. | A tab control is a container component capable of holding all of the other components. A tab control can have multiple tabs, and each tab can store another set of controls. | ||
− | |||
− | |||
=== Synopsis === | === Synopsis === | ||
<pre>tab "<text>", <id>, <x> <y> <width> <height>, <style> | <pre>tab "<text>", <id>, <x> <y> <width> <height>, <style> | ||
tab "<text>", <id>, <style></pre> | tab "<text>", <id>, <style></pre> | ||
− | |||
− | |||
− | |||
− | |||
=== Styles === | === Styles === | ||
Line 876: | Line 857: | ||
| disable || Disables all the controls inside the specified tab. | | disable || Disables all the controls inside the specified tab. | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Events === | === Events === | ||
Line 936: | Line 888: | ||
}</source> | }</source> | ||
<div style="display: block; text-align: center;">[[File:MIRCdlgTab Example.png]]</div> | <div style="display: block; text-align: center;">[[File:MIRCdlgTab Example.png]]</div> | ||
+ | |||
== List == | == List == | ||
Line 954: | Line 907: | ||
| sort || Sorts the items in the list. | | sort || Sorts the items in the list. | ||
|- | |- | ||
− | | multsel || Allows multiple items to be selected | + | | multsel || Allows multiple items to be selected at once. |
|- | |- | ||
− | | extsel || Allows extra selection support | + | | extsel || Allows extra selection support. |
|- | |- | ||
| vsbar || Always show the vertical scrollbar. | | vsbar || Always show the vertical scrollbar. | ||
Line 966: | Line 919: | ||
| radio || Turns the list into a list of radio items. | | radio || Turns the list into a list of radio items. | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Events === | === Events === | ||
Line 1,072: | Line 988: | ||
| hsbar || Always show the horizontal scrollbar. | | hsbar || Always show the horizontal scrollbar. | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Events === | === Events === | ||
Line 1,140: | Line 1,026: | ||
− | [[Category:mIRC | + | [[Category:mIRC]] |