Jump to content

This topic is 8141 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Another simple one, but I can't make it work. I'm creating a Status Bar and want to display whether the user is in Browse or Find. I created a calc cMode which is text, (do not store) Status(CurrentMode), but all it displays is a 0. I thought 0 might be browse and 1 might be find and I could then use Case(cMode=0,"Browse", cMode=1,"Find") or something like that. But when entering find, it disappears anyway. Is there a way of displaying the current mode?

Posted

Yep, calculated fields vanish in find mode. So, the trick is to leverage that property. On your layout, put a text literal that says "Find Mode". Over the top of it, put a field object (that's NOT transparent) that holds a calculated field that is always "Browse Mode". Now when you go into Find Mode, the field vanishes, exposing the appropriate label.

I take that even further in my starter template in the Sample Files, where I expose a whole suite of Find mode buttons when you enter find mode.

HTH.

Posted

Bless you! Hey, I've devoured everything in that Sample section! You mean I missed it? Hmmm, probably because I wasn't ready to use something like that, and I added it to my 200+ downloads to take apart and learn wink.gif

This topic is 8141 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.