GDL
About building parametric objects with GDL.

Interface button for a boolean

JGoode
Advocate
Hello,

I am trying to figure out how to create a boolean button on my interface. Instead of a tick box, I'd like it to be a button which I can adjust the size but I'm not sure how to do this.

Many thanks
ArchiCAD 23

Windows 10
1 REPLY 1
runxel
Legend
Try a UI_INFIELD{3} with the "method" flag set to `5` (or `6` if you like images).
A `7` would give you the classic checkbox.
Lucas Becker | AC 27 on Mac | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»