Search the Knowledge Base Report a bug
Post new topic   Reply to topic   printer-friendly view   .    ArchiCAD-Talk Forum Index >>> Libraries / Library Parts / GDL >>> Undocumented UI Function
View previous topic :: View next topic
Author Message
Joachim Suehlo
Junior member
Junior member

Joined: 30 Oct 2003
Posts: 182
Location: Garbsen, Germany

PostPosted: Mon Apr 05, 2004 11:56 am    Post subject: Undocumented UI Function Reply with quote

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
 Description:
 Filesize:  11.52 KB
 Viewed:  7193 Time(s)

UI22.gif



_________________
Joachim Suehlo . AC7-21 . MAC OSX 10.11 . WIN10
Back to top
View user's profile Send private message    
Matthew Lohden
Senior member
Senior member

Joined: 31 Oct 2003
Posts: 6609
Location: SF Bay Area, CA USA

PostPosted: Mon Apr 05, 2004 2:49 pm    Post subject: Re: Undocumented UI Function Reply with quote

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.
_________________
Matthew Lohden
Consultant, SF CA

MacPro 8core 32GB Radeon 5870
OSX 10.8 Mountain Lion, XP32, Win 7x64
Back to top
View user's profile Send private message Visit poster's website AIM Address    LinkedIn Profile Link (Full URL, please)
Bill Rattenbury
New member
New member

Joined: 30 Oct 2003
Posts: 38
Location: Auckland, New Zealand

PostPosted: Mon Apr 05, 2004 9:50 pm    Post subject: Re: Undocumented UI Function Reply with quote

Joachim

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

thanks

_________________
Bill Rattenbury
BArch|ANZIA|AC18
Back to top
View user's profile Send private message    
david nicholson-cole
Junior member
Junior member

Joined: 01 Nov 2003
Posts: 174
Location: Nottingham

PostPosted: Wed Apr 07, 2004 3:30 pm    Post subject: Re: Undocumented UI Function Reply with quote

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!

_________________
--:David Nicholson-Cole GDLA:--
http://sustainabletallbuildings.blogspot.com
http://chargingtheearth.blogspot.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger   
Olivier Dentan
Active member
Active member

Joined: 01 Feb 2004
Posts: 455
Location: France

PostPosted: Wed Apr 07, 2004 6:35 pm    Post subject: Re: Undocumented UI Function Reply with quote

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
Back to top
View user's profile Send private message    
Display posts from previous:   
View previous topic :: View next topic
Post new topic   Reply to topic   printer-friendly view       ArchiCAD-Talk Forum Index >>> Libraries / Library Parts / GDL >>> Undocumented UI Function All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2012 - Graphisoft SE. All rights reserved worldwide. Terms of Use | Privacy Policy