| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| SetMenu https://mail.black-squirrel.com/viewtopic.php?f=15&t=21712 |
Page 1 of 1 |
| Author: | Vid Kid [ Mon Mar 23, 2009 4:53 am ] |
| Post subject: | SetMenu |
I'de like to use a SetMenu .. but want the display of previouse saved values to show , and not wait till after a selection is made before it updates them. code: LoadVar $NoPlanet LoadVar $Product LoadVar $PlanGood IF ($Procuct = "0") SetVar $Product "EQ" End Gosub :MenuTime :GoingIn Echo "*All Done" Halt :MenuTime AddMenu "" "Show" $ver. "." "" "Main" FALSE AddMenu "Show" "GO" "GO!" "G" :GoingIn "" TRUE AddMenu "Show" "MainProduct" "Monitor Port Product " "M" OpenMenu "Show" SetVar $Product "EQ" SaveVar $Product Gosub :sub_SetMenu OpenMenu "Show" :sub_SetMenu SetMenuValue "MainProduct" $Product Return I dont really want to fill in menu if I can get it to recognize the value .. so they display right out but just in case I need to change them I see them. Any ideas ? or should I just make a standard echo style menu ? |
|
| Author: | LoneStar [ Mon Mar 23, 2009 5:06 am ] |
| Post subject: | Re: SetMenu |
I can't help you with SetMenu stuff cause I try really hard to avoid using them. Having said that, I'd suggest using 'Echo' Menu's.. they're a pain in the butt to make, but you have soo much more control. And of course they're prettier |
|
| Author: | Kaus [ Mon Mar 23, 2009 10:33 am ] |
| Post subject: | Re: SetMenu |
Vid Kid wrote: I'de like to use a SetMenu .. but want the display of previouse saved values to show , and not wait till after a selection is made before it updates them. I dont really want to fill in menu if I can get it to recognize the value .. so they display right out but just in case I need to change them I see them. Any ideas ? or should I just make a standard echo style menu ? I'm prolly wrong/missunderstood you; but couldnt you save the variable to a file and then reload the file when the script load's to input your correct variable setting so it's not allways defaulting to your standard setvar. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|