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,.) }