Fayen$
Messages postés
77
Date d'inscription
mercredi 24 septembre 2003
Statut
Membre
Dernière intervention
5 janvier 2004
4 nov. 2003 à 18:36
bon je vous montre le code :)
alias mdx {
var %dll = addons\dll\MDX\mdx.dll
return $dll(%dll,$1,$2-)
}
alias Config {
dialog -m Config Config
}
dialog Config {
title "Configuration MatrixX"
size 300 250 450 250
icon Skins\icone\mIRC.ico
list 1,4 6 124 204,size disable
list 2,6 8 120 200,size
list 3,4 215 124 31,size disable
list 4,133 6 312 240,size disable
button "Ok", 5, 6 217 121 28, ok
tab "tab 1" , 19, 142 10 294 227
box "Pseudo", 6, 142 10 294 227, tab 19
edit %nick1, 7, 200 29 110 20, tab 19
text "Nick —»", 8, 155 31 40 15, tab 19
text "Nick —»", 9, 155 56 40 15, tab 19
edit %nick2, 10, 200 54 110 20, tab 19
text "Nick —»", 11, 155 81 40 15, tab 19
edit %nick3, 12, 200 79 110 20, tab 19
text "Nick —»", 13, 155 106 40 15, tab 19
edit %nick4, 14, 200 104 110 20, tab 19
text "Nick —»", 15, 155 131 40 15, tab 19
edit %nick5, 16, 200 129 110 20, tab 19
box "Info", 17, 155 155 268 68, tab 19
box "", 18, 320 23 103 127, tab 19
tab "Tab 2", 20, 142 10 294 227
box "AwayConsomation", 21, 142 10 294 227, tab 20
edit %nick1, 22, 200 29 110 20, tab 20
text "Nick —»", 23, 155 31 40 15, tab 20
text "Nick —»", 24, 155 56 40 15, tab 20
edit %nick2, 25, 200 54 110 20, tab 20
text "Nick —»", 26, 155 81 40 15, tab 20
edit %nick3, 27, 200 79 110 20, tab 20
text "Nick —»", 28, 155 106 40 15, tab 20
edit %nick4, 29, 200 104 110 20, tab 20
text "Nick —»", 30, 155 131 40 15, tab 20
edit %nick5, 31, 200 129 110 20, tab 20
box "Info", 32, 155 155 268 68, tab 20
box "", 33, 320 23 103 127, tab 20
}
}
on *:dialog:Config:*:*:{
if ($devent == init) {
mdx SetMircVersion $version
mdx MarkDialog $dname $dialog($dname).hwnd
mdx SetControlMDX $dname 2,4 TreeView haslines hasbuttons showsel > addons\dll\MDX\views.mdx
mdx SetBorderStyle $dname 2
mdx SetFont $dname 2 13 300 Tahoma
did -i $dname 2 1 setcolor text 14540253
did -i $dname 2 1 setcolor bkg 0
did -i $dname 2 1 setcolor line 630015
did -i $dname 2 1 cb root
did -a $dname 2 +eb 0 0 0 0 0 MatrixX
did -i $dname 2 1 cb last
didtok $dname 2 44 + 0 0 0 0 0 Readme,+ 0 0 0 0 0 About,+ 0 0 0 0 0 mIRC 6x
did -i $dname 2 1 cb up
did -a $dname 2 +eb 0 0 0 0 0 Options
did -i $dname 2 1 cb last
didtok $dname 2 44 + 0 0 0 0 0 Protections,+ 0 0 0 0 0 Pseudo,+ 0 0 0 0 0 Away,+ 0 0 0 0 0 Anti Pv,+ 0 0 0 0 0 Games,+ 0 0 0 0 0 Programmes
did -i $dname 2 1 cb up
did -a $dname 2 +eb 0 0 0 0 0 Ownage
did -i $dname 2 1 cb last
didtok $dname 2 44 + 0 0 0 0 0 Key Binds,+ 0 0 0 0 0 Style Xp,+ 0 0 0 0 0 Authorize,+ 0 0 0 0 0 Psy Bnc,+ 0 0 0 0 0 Messages
did -i $dname 2 1 cb up
did -a $dname 2 +eb 0 0 0 0 0 mIRC Set
did -i $dname 2 1 cb last
didtok $dname 2 44 + 0 0 0 0 0 Servers,+ 0 0 0 0 0 Channels,+ 0 0 0 0 0 Winamp
did -i $dname 2 1 cb up
}
}
je dois faire quoi maintenant que j'ai ca ? j'ai 2 tab : vous pouvez me montrer un example pour le tab 1 et tab 2 plz
on va dire que [ readme ] m'ouvre le tab 1 et [ about ] m'ouvre le tab 2 :)
thx