At the moment i'm playing around with a toolbar i made, i'm now having probs
on *:dialog:k_bar:sclick:4: {
if ($did($dname,4).sel = 4) { dialog -m ab ab
else {
halt
}
}
}
on *:dialog:k_bar:sclick:4: {
if ($did($dname,4).sel = 2) {
if ($scid($activecid).status = connecting || $scid($activecid).status = connected ) { scid $activecid disconnect }
else {
scid $activecid server
}
update_k
scid $activecid window -a "status window"
}
}
If i was to take away
on *:dialog:k_bar:sclick:4: {
if ($did($dname,4).sel = 4) { dialog -m ab ab
else {
halt
}
}
}
the connect button works.
the .sel 4 will the button next to the connect one which works fine, BUT then the .sel 2 which is the connect button wont work untill i remove the sel 4
make sence?