Re: setVisible on tab pages
- Posted by ZNorQ <znorq at holhaug.com> May 10, 2005
- 461 views
Pete, >>First you really gotta explain the - >> >> if self or event or sequence(params) then end if >> >>What would this accomplish? >Suppress warnings. As CoJaBo pointed out you can use without warnings >instead, if you prefer, however I worry that might hide others. Ah, I get it. I usually supress the warnings with the 'without', maybe I I shouldn't do that.. But I guess I turned it off because of all those "variables not used" messages.. (Can't remember..) :D As for the solution for the problem, I'm not sure how to go about. I'm guessing I could use a true/false variable that tells the system if the field is supposed to be visible or not. For example, when the user presses the radio button it checks first if the right tab has the focus. If it does, it makes it visible. If it isn't it just sets the variable to true. I could then create a setHandle that activates when you press the right tab, page and it will test the variable if it is true. If it is - set the field to visible... Does this make sense? That is just the basic priciples, I guess, haven't had time to code and try it out yet... Kenneth / ZNorQ