Picture in a popupMenu

Discussion about recent product features & solutions!
5 posts • Page 1 of 1
Shlip
Posts:10
Joined: Tue May 02, 2017 4:27 pm

Picture in a popupMenu

Post by Shlip »

Hi,

Does anyone know if there are any standard function to place an icon for a PUSH_BUTTON line in popupMenu?
In example, like at the right of the push buttons on the following picture


Thank you in advance! Image
Attachments
Example.png

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Picture in a popupMenu

Post by Gertjan van Schijndel »

It is not in the current feature set of the popupMenu. You could file a feature request.
There is an undocumented feature, which allows every panel to be used as a popup menu (it could be used to show non-rectangular popup menu's).

Code: Select all

childPanel(makeDynAnytype(module,                                // Name of the parent module
                          fileName,                              // File name of the child panel
                          rootPanel(module),                     // Name of the parent panel
                          panelName,                             // Panel name of the child panel
                          position[1], position[2],              // X, Y
                          1.0,                                   // Scale
                          FALSE,                                 // Parent scale
                          parameters,                            // Dollar parameters
                          TRUE,                                  // Modal
                          makeMapping("windowFlags", "Popup")),  // Options
           result);                                              // Return array as passed to 'panelOff'

Shlip
Posts:10
Joined: Tue May 02, 2017 4:27 pm

Re: Picture in a popupMenu

Post by Shlip »

How can I file it?

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Picture in a popupMenu

Post by Gertjan van Schijndel »

Contact your WinCC OA sales person to get an offer for this feature request.

Shlip
Posts:10
Joined: Tue May 02, 2017 4:27 pm

Re: Picture in a popupMenu

Post by Shlip »

Thank you!

5 posts • Page 1 of 1