Hi
is it possible to change label of a button according to the changed state.
Basically what i want is suppose in the view mode cycle button...the label changes acc to its state like it diaplays thumbnails when in thumbnail view and similarily list details power icon etc
In Opus a button will appear pushed-in when its state is active, for buttons where it makes sense. For example, a Thumbnails button will always say Thumbnails and have the Thumbnails icon and will appear pushed-in if thumbnails mode is active.
You can make buttons that toggle between two view modes and you can specify which of the view modes should make the button appear to be pushed-in by putting a * next to its name, like this:
Set VIEW=Thumbnails*,Details
That button toggles between Thumbnails and Details and will appear pushed in when Thumbnails is in use. If neither mode is currently in use then the first push will set it to Thumbnails mode, because it's first in the list. (Of course, you can put the * on the second mode if you want, so the button will go to one mode when first clicked but will appear pushed-in for the other mode.)
I have that button on my toolbar with another one next to it that does the same for Tiles mode:
Set VIEW=Tiles*,Details
This works well for me since I usually only use Details, Thumbnails and Tiles modes. If neither button is pushed-in then I'm in Details mode. I can push either button to switch to Thumbnails or Tiles mode from whatever mode I'm in, and to get back to Details mode I just click the button that's pushed-in at the moment.