GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Button Checked color

Hello

Little question...

I use buttons to access directories. (like TAB)
Example: Go "D:\Download"

Is it possible to display the Checked color button if the directory
active corresponds to the button.

Thank you

I don't think there is a simple way to do that currently, but it could probably be done with a script that sets a variable to the current path in OnAfterFolderChange, which is then checked in the buttons using @toggle.

Expanding the capabilities of things like @toggle without needing scripting is something we're thinking about, so this might get easier in the future, although I'm not sure if we'll cover this particular case or not at this stage.