cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Undocumented UI Function

Joachim Suehlo
Advisor
An undocumented Function of the User Interface allows UI_INFIELDs and UI_OUTFIELDs and UI_PICTUREs and others in a wider field then the documented width of 466 pixels.
See the screenshot below and the script:

ui_dialog "TEST OBJEKT"

UI_GROUPBOX "Test", 0,0,444,266

UI_GROUPBOX "Test 2", 450,0,242,266

UI_PICT "pix_red.gif", 0,20,740,20

UI_OUTFIELD "Die Fülle neuer DIN-Normen und anderer Regeln ist kaum zu überschauen. Um immer auf dem neuesten Stand zu sein, müssen Sie viel Zeit und Geld in die Beschaffung, Verwaltung und Auswertung stecken. ", 466,48,200,200

UI_INFIELD "A", 20,150,800,20

UI22.gif
Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation: b-prisma.de
4 REPLIES 4
Anonymous
Not applicable
I assume this is an effect of the new feature of variable width in the settings side (as opposed to the browser side) of the dialog box. The docs often do not keep up with the new features. It's good news. Thanks for the info.
Anonymous
Not applicable
Joachim

Hey I didn't even know the UI_Output would wrap text!

thanks
Oh dear,
I have just written a section on the UI for the Cookbook, I shall have to modify it considerably.

By the way, a friend from New Zealand, Campbell Yule, who i declare world champion in GDL at the moment, showed me a trick at ACUWest for drawing black line on whte dynamic drawings in the UI - brilliant trick!
(using UI_PICT).
He also showed me that if you set the dialog to 444 wide, and then pushed a valuelist to beyond 444, you could truncate off the scroll bar. I havent tried this yet. I will have to now!
Anonymous
Not applicable
It seems there is a limit.
With
UI_INFIELD "A", 0,150,448,20
I can select the parameter,
With
UI_INFIELD "A", 0,150,449,20
It is impossible.

Don't know if it is the same for PC
Learn and get certified!