Need some more DCX Help (The DCX Forum is dead!!) I'm trying to get multi sclick's to work in the toolbar control!
Heres some code...
on *:dialog:ny:init:0:{
dcx Mark $dname cb_n
xdialog -b $dname +ty
xdialog -c $dname 1 toolbar 0 0 0 0 top list flat nodivider
xdid -l $dname 1 32
xdid -w $dname 1 +ndh 10 $mircexe
xdid -w $dname 1 +ndh 11 $mircexe
xdid -a $dname 1 1 +la 0 1 $rgb(0,0,0) General
xdid -a $dname 1 2 +la 0 2 $rgb(0,0,0) settings
}
alias cb_n {
if $3 == 1 {
if $2 == sclick {
did -f ny 3
}
elseif $4 == 1 {
did -f ny 4
}
}
}
No luck with that, i've tried loads of ways!
Im also having problems with the Toolbar, for some reason the items i add to the toolbar ain't vertical
Heres the toolbar positioned to the left of the dialog
and heres the code..
on *:dialog:ny:init:0:{
dcx Mark $dname cb_n
xdialog -b $dname +ty
xdialog -c $dname 1 toolbar 0 0 0 0 left list flat nodivider
xdid -l $dname 1 32
xdid -w $dname 1 +ndh 10 $mircexe
xdid -w $dname 1 +ndh 11 $mircexe
xdid -a $dname 1 1 +la 0 1 $rgb(0,0,0) General
xdid -a $dname 1 2 +la 0 2 $rgb(0,0,0) settings
}
Now heres the toolbar positioned at the top of the dialog..
and some code..
on *:dialog:ny:init:0:{
dcx Mark $dname cb_n
xdialog -b $dname +ty
xdialog -c $dname 1 toolbar 0 0 0 0 top list flat nodivider
xdid -l $dname 1 32
xdid -w $dname 1 +ndh 10 $mircexe
xdid -w $dname 1 +ndh 11 $mircexe
xdid -a $dname 1 1 +la 0 1 $rgb(0,0,0) General
xdid -a $dname 1 2 +la 0 2 $rgb(0,0,0) settings
}
Hope you can help!!