Search found 9 matches

Search

by GerrieF
Wed Oct 06, 2021 1:21 pm
Forum: HowTos
Topic: Setting the text format to a float in a layout
Replies: 0
Views: 219

Setting the text format to a float in a layout

Good day For some reason when I am setting the format of a text field (value read from a DP as a float), to the format of the DP, the text box size increases. Example: I am setting the value and the format to my text field. https://i.imgur.com/vQBXWJq.gif When pressing the button above this is the c...
by GerrieF
Mon Jul 19, 2021 1:02 am
Forum: Bugs / Problems
Topic: Animations in Layouts
Replies: 3
Views: 1357

Re: Animations in Layouts

Hi Leopold, Thanks for your reply. This is my animate code: int g; g = createAnimation(); animate(g, "icon_bannerType", "sizeAsDyn", icon_bannerType.sizeAsDyn, icon_bannerType.sizeAsDyn, makeMapping("keyValues", makeMapping(0.5, makeDynInt(40, 40)),"easingCurve&quo...
by GerrieF
Wed Jul 14, 2021 2:58 am
Forum: Bugs / Problems
Topic: Animations in Layouts
Replies: 3
Views: 1357

Animations in Layouts

Hi all, I am having an issue where my animations act strangely when placed in a layout. If my panel components are not in a layout they work fine, but as soon as the components are placed in a layout it dies some strange things... How can I get my animations to work as expected even with the panel p...
by GerrieF
Fri Apr 16, 2021 1:00 am
Forum: HowTos
Topic: How to construct a popup Menu with Icons and text
Replies: 9
Views: 4772

Re: How to construct a popup Menu with Icons and text

Hello, I was searching for something similiar too and found the solution with that "hidden feature" (see the windowFlags -> Popup below), see following snippet. int x, y; getValue(this, "position", x, y); // just an example ... dyn_string dollars = makeDynString(); // whatever t...
by GerrieF
Fri Apr 09, 2021 12:07 am
Forum: HowTos
Topic: How to construct a popup Menu with Icons and text
Replies: 9
Views: 4772

Re: How to construct a popup Menu with Icons and text

In the upcoming version 3.18 a new reference object (objects/popupMenu/MenuButton.pnl) is available which can open a popup menu with text and icon. You can possibly wait for the release of 3.18 and then have a look at the new reference object. Best Regards Leopold Knipp Senior Support Specialist Go...
by GerrieF
Wed Mar 31, 2021 12:14 am
Forum: HowTos
Topic: How to construct a popup Menu with Icons and text
Replies: 9
Views: 4772

Re: How to construct a popup Menu with Icons and text

There is a hidden feature, which makes it possible to set a 'popup' flag for child panels. If this flag is set the child panel is closed if a mouse click occurs outside the child panel. Perhaps 3.18 contains an example using this 'popup' flag. Thank you for your reply to my post! Can you tell me a ...
by GerrieF
Wed Mar 31, 2021 12:09 am
Forum: HowTos
Topic: How to construct a popup Menu with Icons and text
Replies: 9
Views: 4772

Re: How to construct a popup Menu with Icons and text

Thank you for your reply to my post!
by GerrieF
Thu Mar 25, 2021 11:03 pm
Forum: HowTos
Topic: How to construct a popup Menu with Icons and text
Replies: 9
Views: 4772

How to construct a popup Menu with Icons and text

How can I use the popupMenuXY to construct a contextual menu with buttons and Cascade buttons having an icon as well as a text label?
This is done for the Gedi menu bar, but I am unable to find an example for the construction.
by GerrieF
Wed Oct 07, 2020 12:52 pm
Forum: HowTos
Topic: Google Material color palette for WinCC OA
Replies: 2
Views: 4621

Re: Google Material color palette for WinCC OA

Good day KillianVP

I am very new at OA...
I am to design some panels for a customer using the Google Material IO information.

The file that you created (the colour pallet):
How can this be imported into OA?

Thanks