Color Change - Visited Tab

mmalhotra-9265mmalhotra-9265 Community Member Posts: 120 ♪ Opening Act ♪
Hi,

Can we change the color of visited tab in Lectora (version 19)?

Regards
Malvika

Comments

  • carlfinkcarlfink Community Member Posts: 699 ✶ Headliner ✶
    Sure. How are you implementing tabs? One way would be to have two graphics for the tab itself, say a white and a gray version of the same graphic. Put the gray one in front of the white one, and make it transparent (both fill and outline) (in the Style tab of the Ribbon).

    Add an OnMouseClick action to the gray tab that Shows itself ("This Object"). Now the tab will turn gray as soon as it's clicked. (Note: the action is on the gray tab because it's in front of the white one, so it will be clicked on even though it's not visible.)

    Of course, another action on the gray tab should navigate to the relevant tabbed page.
  • mmalhotra-9265mmalhotra-9265 Community Member Posts: 120 ♪ Opening Act ♪
    Thank you Carl.

    I tried but guess my ACTIONS aren't correct.
    Just check, and suggest.

    Regards
    Malvika
  • carlfinkcarlfink Community Member Posts: 699 ✶ Headliner ✶
    Hi, Malvika,

    The only action on the rounded rectangle is "Go to [the page]". There is no action to change a color. You have four "Blue visited state" graphics for Part 1, one of which is invisible?

    I edited yours to show the actions required for Part 1. (I didn't change the other three.) I also replaced your rounded rectangle with a text button, which has the advantage that the text is clickable--it wasn't in your original.
  • mmalhotra-9265mmalhotra-9265 Community Member Posts: 120 ♪ Opening Act ♪
    Thank you Carl. This involves variable, and I would need practice for the same.
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!