Author Topic: Override select control on a layout  (Read 657 times)

markc74

  • Full Member
  • ***
  • Posts: 32
    • View Profile
Override select control on a layout
« on: May 02, 2024, 04:11:52 AM »
Hi all. I'm working on a display menu layout where I want to override the default SELECT control with my own function.

I want to do something different when I press the select button, but at the moment when I try to this it simply loads the display it thinks I want anyway.

Any ideas?

markc74

  • Full Member
  • ***
  • Posts: 32
    • View Profile
Re: Override select control on a layout
« Reply #1 on: May 02, 2024, 09:38:43 AM »
I worked it out  :)

Seems like function on_signal( signal_str ) did the trick...  :)

Another problem though - or actually a question - is it possible to write values somewhere when using the display menu (or any layout) ?

I want to store the state of elements on the layout on exit so that when it is reloaded they appear where they were from the previous time the menu was shown. If this sounds confusing let me know and I'll post a video of what I'm trying to achieve.

Thanks in advance!

markc74

  • Full Member
  • ***
  • Posts: 32
    • View Profile
Re: Override select control on a layout
« Reply #2 on: May 04, 2024, 10:51:26 AM »
Aaaaand fixed this one too using the fe.nv table

Slowly getting where I need to be... There'll be more questions coming soon!