Can you hide a menu in a dialog? like use the -h switch dosent work, any ideas?
Code:
alias test {
if (!$dialog(test)) { dialog -m test test }
}
dialog test {
title "Just a test dialog"
size -1 -1 180 93
option dbu
menu "Test", 1
}
on *:dialog:test:*:*: {
if ($devent == init) {
did -h $dname 1 <- hide the ID
}
if ($devent == sclick) {
if ($did == 1) { did -v $dname 1 } <- show the ID
}
any ideas on this one? i hope it can be done?
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
I know about menu, i just took 1 as the button since i dont have any other in the dialog, how ever can you hide a menu id? or is it impossible, dosent work on init..
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }