![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
![]() Join Date: Sep 2005
Location: UK
Posts: 867
|
Redlion G3 Popup Menu
Hi, is there anyway i can create a Popup next to the panel keys i.e Left side of the screen (like a windows start menu) to describe the panel keys?
I have tried to create one using the following code: if (Show_Menu) { ShowPopup(Menu); } Show_Menu is an internal bit triggered momentarily by a push button. Menu is the popup page I then get a Guru Meditation Code: 02-2007-4918-604 secondly on a Message box in the centre of the screen, i've noticed that if the trigger is held on whilst the message box is active, then no tags are wrote when pressing buttons, i have fixed this using a "one shot" pulse to trigger, this works but if the exit button is pressed triggering Hidepopup() then the popup is gone before a decision button is pressed. |
|
|
|
#2 |
|
Lifetime Supporting Member
|
Personally I hate Windows popups but...
if (Show_Menu = true) { ShowPopup(Menu); } else { }
__________________
"It's a lot easier to find another job than to find another family. And families tend to be a lot more loyal than corporations." - Steve Bailey THE AUTOMATION STORE - Your source for automation supplies, repairs, and PLC training classes |
|
|
|
#3 |
|
Member
![]() Join Date: Sep 2005
Location: UK
Posts: 867
|
Hi,
The triggering code works fine with popups, I was wondering if it was possible to trigger a Popup on the Left hand side of the screen instead of central, that way you have a guide for each button. When triggered via button, the screen bombs and gives me the Guru code. |
|
|
|
#4 | |
|
Lifetime Supporting Member
|
Quote:
Also under the page properties, you can select the popup location.... (Bottom, Left). I haven't used this on an actual screen, and it doesn't seem to work in the emulator. -brian |
|
|
|
|
#5 |
|
Member
![]() Join Date: Sep 2005
Location: UK
Posts: 867
|
Thanks - ill give it a try.
|
|
|
|
#6 |
|
Member
![]() Join Date: Sep 2005
Location: UK
Posts: 867
|
Gave it a try with show as Popup menu and popup window, still crashes and gives the same Guru message - bummer
.
|
|
|
|
#7 |
|
Member
![]() Join Date: Sep 2005
Location: UK
Posts: 867
|
Messed about with the size abit and it appears to be working?
|
|
|
|
#8 |
|
Member
![]() Join Date: Sep 2005
Location: UK
Posts: 867
|
Hi,
all working now - i deleted a shadow i had the text written in and just changed the background colour to match and it works a treat. thanks for your help Brijm |
|
|
|
#9 |
|
Member
![]() Join Date: Sep 2005
Location: UK
Posts: 867
|
OK - next problem!
I have 4 screens configured currently, each screen has the keys assigned to goto page for the other screens, the popup menu also has these keys assigned on its screen also, however when the popup menu is visable - the panel keys do nothing, hide it and i can navigate as normal? what i'm i doing wrong? |
|
|
|
#10 |
|
Member
|
First, if you want to use programming, instead of just a button to show the menu, you can use the ShowMenu() function.
When configuring a page that will be used as a pop-up menu, do not program the softkeys on that page. Add push buttons next to the softkeys. When the page is shown as a menu, the softkey next to the touch screen button will take the action of the button. Regards, Dan
__________________
-Dan Yost Interface and Control Team Technical Support Red Lion Controls Check out our new software at www.crimson3.com |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RedLion G308 to Siemens S5 943 115 series processor | 504bloke | LIVE PLC Questions And Answers | 9 | August 2nd, 2011 02:31 AM |
| Redlion G3: Upgrade to a larger size | billysmithde2 | LIVE PLC Questions And Answers | 17 | May 1st, 2008 11:02 PM |
| G3 and ModBus | Brijm | LIVE PLC Questions And Answers | 12 | February 4th, 2008 05:50 PM |
| RSView 32: Cannot Replace Popup | gareth.cantrill | LIVE PLC Questions And Answers | 2 | February 24th, 2006 10:33 AM |
| MEDOC For Mitsubishi | adkeys2 | LIVE PLC Questions And Answers | 22 | December 4th, 2003 03:21 PM |