If you're using the action "Hookup Dialog Item" or "Hookup Standard Dialog Item", you can save it in a variable of type "Dialog Item" using the function "Last created dialog item". The function name is counterintuitive/misleading/wrong, but it works.
Is there a way to write down the custom UIFrame into a variable using the name, instead of the function last created dialog element?
Yes, if I understand you correctly.
If you're using the action "Hookup Dialog Item" or "Hookup Standard Dialog Item", you can save it in a variable of type "Dialog Item" using the function "Last created dialog item". The function name is counterintuitive/misleading/wrong, but it works.
http://peeeq.de/gui.php?id=3849
Thank.
Another question. Let's say I have a layout containing two buttons.
Example.SC2Layout
I create an element of dialogue (FrameExample) with two buttons at the same time (Button1, Button2). Can I get access to every button.
Yes, you can use "Hookup Dialog Item" for that.
Thank. Now, I figured out how it works.