2023-12-20 03:24 PM - last edited on 2024-09-26 01:03 PM by Doreena Deng
Hi all,
Is it possible to make a UI script that look something like this:
generally speaking all the options are are dropdown list, and icons... but biggest question for me actually is can I make these two selectable buttons (1,2). they represent position,after the selected position you choose do you want: socket, switch, ect. maybe through booleans?
Solved! Go to Solution.
2024-05-31 03:29 PM
Here is something similar You are going for I did: https://www.kontakt-simon.com.pl/assets/res/doc/3742/6602ac1dda201-KontaktSimon%2020240224.zip
there is library of electrical equipment by Simon, for now only in Polish.
2024-05-29 04:02 AM
Hi,
I think it's possible to make a UI you want.
You can prepare an integer parameter value and place two buttons to allow user to choose 1 or 2.
Then checking the value to know the position, and get which socket, switch type is selected.
HTH.
2024-05-29 11:39 AM
The biggest challenge would be the size of the UI... from 24 488x286px or something similar(bigger in width than before), so it might be somewhat unreadable if a lot in there. You cannot use pictures overlaying each other btw.
You can make the UI bigger but it will be cropped in the standard sizing of the dialog.
The bulletpoints You will do with: UI_RADIOBUTTON,(the left), the right I would do with UI_PICT_RADIOBUTTON with texts by UI_INFIELD. the framing can be done by UI_SEPARATOR or UI_GROPUPBOX (without texts)
2024-05-31 03:29 PM
Here is something similar You are going for I did: https://www.kontakt-simon.com.pl/assets/res/doc/3742/6602ac1dda201-KontaktSimon%2020240224.zip
there is library of electrical equipment by Simon, for now only in Polish.
2024-06-03 02:57 PM
Great! Thank you so much this as a reference helps me a lot!