HI
I am trying to have a common 'MENU' button so that when i change screens it is still visible and can be clicked on, However when another screen is loaded (Other than its "Owner Screen") The button is unresponsive (Visible but cant click it).
I have tried:
ButtonMenu.Visible = 1; //make visible
ButtonMenu.Active = 1; //activate
strcpy(ButtonMenu_Caption, "MENU" ); //name its caption
DrawButton(&ButtonMenu); //redraw button
-Must i change the " ButtonMenu.Order" or create a case statement to change the "Owner Screen" when a new screen is chosen??
-Whats the best way to have one button on multiple screens? -or must I go the long way and make buttons for each screen ?
Regards
Ivan D
Menu Button, to be used on multiple screens.
Re: Menu Button, to be used on multiple screens.
I don't know of any other way to do this than the brute force way. This would be a really nice feature thought and hope Mikroe adds a "global" screen to Visual TFT.
- janko.kaljevic
- Posts: 3565
- Joined: 16 Jun 2011 13:48
Re: Menu Button, to be used on multiple screens.
Hello,
Thanks for suggesting this. I have passed it to our developers and we will consider it in near future.
Best regards.
Thanks for suggesting this. I have passed it to our developers and we will consider it in near future.
Best regards.
- janko.kaljevic
- Posts: 3565
- Joined: 16 Jun 2011 13:48
Re: Menu Button, to be used on multiple screens.
Hello,
You can preview how this can be done in our example provided with VisualTFT Tool.
Open rgbPlay example and check ShowCircleButtons function in user code.
This way those buttons will be visible on all screens.
Best regards.
You can preview how this can be done in our example provided with VisualTFT Tool.
Open rgbPlay example and check ShowCircleButtons function in user code.
This way those buttons will be visible on all screens.
Best regards.
Re: Menu Button, to be used on multiple screens.
Hi,
I've been unable to find the rgbPlay example code mentioned in this thread.
Can someone please point me in the right direction?
Cheers
I've been unable to find the rgbPlay example code mentioned in this thread.
Can someone please point me in the right direction?
Cheers