Interroga Posted October 31, 2017 Report Share Posted October 31, 2017 Hi, I want to create a pop-up in my application. Because the crf21part 11 , I need to create a pop-up for user insert your sign and comment for actions log's. regards, Mauro. 1 Quote Link to comment Share on other sites More sharing options...
Dave Posted November 1, 2017 Report Share Posted November 1, 2017 I haven't tried them yet, but I believe you could do that with a Custom Control, found In the Solution Explorer, under HMI. Quote Link to comment Share on other sites More sharing options...
Interroga Posted November 24, 2017 Author Report Share Posted November 24, 2017 yet I did not find a way to call this "popup" in the main screen of custom control. Quote Link to comment Share on other sites More sharing options...
Saragani Posted November 26, 2017 Report Share Posted November 26, 2017 With a Custom Control, you can create a control that can be used in different screens. From the toolbox you can drag (or double click) the custom control, to a a screen. If you define Read only or Read-Write parameters to the custom control, then they must be used when placing the custom control on a screen. You can use those parameters inside the custom control definition (for example, a numeric tag to be linked to a numeric box). After placing a custom control on a screen, then you can define a visibility bit in order to control the visibility of the "layer". Quote Link to comment Share on other sites More sharing options...
Dave Posted November 28, 2017 Report Share Posted November 28, 2017 There is a simple, yet effective example of a "Pop-Up" screen found in the sample applications available online, Unilogic\Example\Alarms\UniStream_070_Alarms_Example_with_events.ulpr look at the Alarm History Screen, and specifically at the tag Clear_History_Popup, and the actions associated with the various buttons on the screen. There is a rectangle with 50% opacity, that appears when the Pop-up is displayed, that dims the background behind the Pop-up (nice touch). If you select that rectangle and "send to back", you will be able to select the various buttons and check out the actions associated with them. Quote Link to comment Share on other sites More sharing options...
Interroga Posted December 3, 2017 Author Report Share Posted December 3, 2017 Ok, but I guess that's not the best way. If possible in the next version, we can create screens with resizing in the configuration. I appreciate your help. I hope the next release will be active. Quote Link to comment Share on other sites More sharing options...
Saragani Posted December 3, 2017 Report Share Posted December 3, 2017 2 hours ago, Interroga said: Ok, but I guess that's not the best way. If possible in the next version, we can create screens with resizing in the configuration. I appreciate your help. I hope the next release will be active. What do you mean screens with resizing? Screens have fixed size, since this is the size of the panel, and custom controls are like screens, but do have sizing options. Quote Link to comment Share on other sites More sharing options...
C1@ndestin0 Posted February 2, 2018 Report Share Posted February 2, 2018 hi all. Dont want to create new topic so write in the same. I created custom control for pump (for example), add local structure for this custom control. After it placed CC on main screen and linked global structure. Is any option to not place CC equal to the numbers of pumps and operating only with one CC? I mean: 1. Create STRUCTS>MOTOR_STATE 2. Create local 3. Placed on main screen and choose tag as structure 4. In ladder add code like this. It will work correctly? So main idea is when I press on pump on main screen custom cotrols pop-ups and I can operate by this pump. Thank you a lot for help. 1 Quote Link to comment Share on other sites More sharing options...
Saragani Posted February 2, 2018 Report Share Posted February 2, 2018 Your idea is correct, use Copy Struct to copy from Original pump tag to Main pump tag (which is being used on screen), make the changes on the Main pump members (if needed), and when Apply button is pressed (for example), copy the struct back to the Original pump tag. Quote Link to comment Share on other sites More sharing options...
C1@ndestin0 Posted February 5, 2018 Report Share Posted February 5, 2018 On 02.02.2018 at 10:22 PM, Saragani said: Your idea is correct, use Copy Struct to copy from Original pump tag to Main pump tag (which is being used on screen), make the changes on the Main pump members (if needed), and when Apply button is pressed (for example), copy the struct back to the Original pump tag. OK, thank you for info. then add BIT of confirmation to replace new status in pump struct from temporary struct Quote Link to comment Share on other sites More sharing options...
mac99 Posted July 3, 2020 Report Share Posted July 3, 2020 Hi, Just like to know if there's any app or tool to insert pop ups? Like in Shopify Stores, we have Milk The Leads. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.