• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Visited States and Selected States

New Here ,
Jul 07, 2023 Jul 07, 2023

Copy link to clipboard

Copied

I'm trying to work out how to have both a custom state and a selected state. In the past, if I wanted a selected state I created a custom state and then used advanced actions that set that button to selected and the rest to normal. Doing it this way, any in-built visited sate gets overridden by the advanced action. The only way I can image doing it is with variables for each button and a bunch of conditional statesments one every button that check the variables of the other buttons to set them to visited or normal. That sounds really unweildy to me.

Any ideas? Thanks!

Views

59

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 07, 2023 Jul 07, 2023

Copy link to clipboard

Copied

Sorry, I meant to write "I'm trying to work out how to have both a visited state and a selected state. "

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 07, 2023 Jul 07, 2023

Copy link to clipboard

Copied

LATEST

Since you don't mention the exact version you are using I presume that you are not yet on the most recent version (12) since you mention advanced actions which are no longer available in that most recent version.

The Visited state is sort of a hybrid state, it is labeled as 'InBuilt' but can be addressed with an action which is not possible for the real InBuilt states, and it can never be part of the object style.

Of course you can have a Visited state and a Selected state. Full control will be easiest when you create them both as custom states. However since you don't give details about the way you handle this with advanced actions, cannot you help with that. Maybe this blog post can clarify more what I tried to explain:

https://blog.lilybiri.com/button-states-basics-and-tips

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources