<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help, label GDL, dynamic array in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232799#M4414</link>
    <description>Problem 3: As far as I know, you cannot list Array Parameters&lt;BR /&gt;
&lt;BR /&gt;
Problem 2: You can resize the User Interface, if you like  (UI_DIALOG "Settings", 600, 1200 for example).&lt;BR /&gt;
Or you can code a kind of slider.&lt;BR /&gt;
&lt;BR /&gt;
Problem 1: was not clear for me, what you meant.</description>
    <pubDate>Tue, 31 Mar 2020 08:58:33 GMT</pubDate>
    <dc:creator>Jochen Suehlo</dc:creator>
    <dc:date>2020-03-31T08:58:33Z</dc:date>
    <item>
      <title>Help, label GDL, dynamic array</title>
      <link>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232798#M4413</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello, i am learning GDL, so i dont know how to resolve this:&lt;BR /&gt;Please someone could help me.&lt;BR /&gt;&lt;BR /&gt;I am creating a laber in GDL, this is a table of dates, for example for 1 slab, i want to input data of the concrete in work for control of quality.&lt;BR /&gt;i have 3 problems until now, &lt;BR /&gt;attached pictures of the description of each one.&lt;BR /&gt;&lt;BR /&gt;problem 1&lt;BR /&gt;&lt;A href="https://postimg.cc/JGccmg7j" target="_blank" rel="noopener"&gt;&lt;IMG src="https://i.postimg.cc/rF7hGXvZ/1.png" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;problem 2&lt;BR /&gt;&lt;A href="https://postimg.cc/rDVGpJz3" target="_blank" rel="noopener"&gt;&lt;IMG src="https://i.postimg.cc/VkMKDZwf/2.png" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;problem 3&lt;BR /&gt;&lt;A href="https://postimg.cc/64xnxVDH" target="_blank" rel="noopener"&gt;&lt;IMG src="https://i.postimg.cc/4ym5tBwT/3-jpg.jpg" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thankyou&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Sep 2022 20:52:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232798#M4413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-26T20:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help, label GDL, dynamic array</title>
      <link>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232799#M4414</link>
      <description>Problem 3: As far as I know, you cannot list Array Parameters&lt;BR /&gt;
&lt;BR /&gt;
Problem 2: You can resize the User Interface, if you like  (UI_DIALOG "Settings", 600, 1200 for example).&lt;BR /&gt;
Or you can code a kind of slider.&lt;BR /&gt;
&lt;BR /&gt;
Problem 1: was not clear for me, what you meant.</description>
      <pubDate>Tue, 31 Mar 2020 08:58:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232799#M4414</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2020-03-31T08:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help, label GDL, dynamic array</title>
      <link>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232800#M4415</link>
      <description>Thanks a lot, for your help.&lt;BR /&gt;
&lt;BR /&gt;
More infrmation.&lt;BR /&gt;
&lt;BR /&gt;
Problem 1:&lt;BR /&gt;
For create this date table, i used  a dynamic array for each colum, all array is created in GDL, declared qith DIM and initialized assigning a value (any value, only for initialize the parameter), until here all is ok.&lt;BR /&gt;
&lt;BR /&gt;
I used UI_INFIELD for create the user interface, and allow the user of the laber insert values diferents.&lt;BR /&gt;
&lt;BR /&gt;
the problem: when the user write values in the fields created with UI_OUTFIELD, everything the user writes is discarded and automatically returns to the value assigned by the GDL.&lt;BR /&gt;
&lt;BR /&gt;
SO, How do I make the values entered by the user in the cells created with UI_INFIELD be saved, and not be discarded by the script?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Problem 2: This (UI_DIALOG "Settings", 600, 1200) help a lot, thanks&lt;BR /&gt;
Any idea for code of scrollbar?, i looked in GDL cookbok and GDL hand book and nothing.&lt;BR /&gt;
&lt;BR /&gt;
Problem 3: if i can not report the arrays values, any idea, How to report or print or export this data table?&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot for your help.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 31 Mar 2020 10:05:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232800#M4415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-31T10:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help, label GDL, dynamic array</title>
      <link>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232801#M4416</link>
      <description>Problem 1:&lt;BR /&gt;
Array Parameters you must not declare in the script.&lt;BR /&gt;
You only need to declare them if you want to lower its size.&lt;BR /&gt;
And it make sense to do it once if you have bigger Arrays, that saves a lot of manual work.&lt;BR /&gt;
But after that declation you should uncomment this script part.&lt;BR /&gt;
If you have not declared the Array in the Parameter-Script (or uncommented it), the user should be able to&lt;BR /&gt;
change the values.&lt;BR /&gt;
&lt;BR /&gt;
Problem 2: I can look for an example I have made some years ago, please give me a day.&lt;BR /&gt;
&lt;BR /&gt;
Problem 3: at the moment not...</description>
      <pubDate>Tue, 31 Mar 2020 11:11:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232801#M4416</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2020-03-31T11:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help, label GDL, dynamic array</title>
      <link>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232802#M4417</link>
      <description>Here is a simple scrolling example with buttons and with UI_Slider.&lt;BR /&gt;
The buttons have "end stops", the Slider not yet.&lt;BR /&gt;
&lt;A href="http://download.b-prisma.de/objekte/Scrolling_in_UI.gsm" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="http://download.b-prisma.de/objekte/Scrolling_in_UI.gsm" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;http://download.b-prisma.de/objekte/Scrolling_in_UI.gsm&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;http://download.b-prisma.de/objekte/Scrolling_in_UI.gsm&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Tue, 31 Mar 2020 21:45:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232802#M4417</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2020-03-31T21:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help, label GDL, dynamic array</title>
      <link>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232803#M4418</link>
      <description>Thanks for your help, now just need to solve the problem 3.&lt;BR /&gt;
Thanks a lot  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 01 Apr 2020 03:21:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232803#M4418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-01T03:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help, label GDL, dynamic array</title>
      <link>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232804#M4419</link>
      <description>Problem 3: Have you tried to use Text or Data Addon?&lt;BR /&gt;
Both are described in the GDL Cookbook.&lt;BR /&gt;
You can export Textfiles via GDL script.&lt;BR /&gt;
But I am not shure, if this solves your problem.</description>
      <pubDate>Thu, 02 Apr 2020 08:35:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232804#M4419</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2020-04-02T08:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help, label GDL, dynamic array</title>
      <link>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232805#M4420</link>
      <description>@Andomar&lt;BR /&gt;
&lt;BR /&gt;
These 3 problems deserve 3 seperate posts alone ...&lt;BR /&gt;
&lt;BR /&gt;
Anyway,&lt;BR /&gt;
&lt;BR /&gt;
1. Arrays in the Parameters Tab are dynamic in nature, you don't  need to declare a specific value for its size. Althought in your case you can make the array[1]&lt;X&gt;, were X is it's width size. And if you need another row, just create a ui_button script that if the user clicks on it, it would just add a new row to the array with some bogus values, the user can change them.&lt;BR /&gt;
&lt;BR /&gt;
Why should you do it that way? In your case, simple:&lt;BR /&gt;
a. The bigger the array the bigger memory required for your object.&lt;BR /&gt;
b. You will not have to deal with the rest of the arrays unused data.&lt;BR /&gt;
&lt;BR /&gt;
2. I believe @Joachim Suehlo have already answered you.&lt;BR /&gt;
&lt;BR /&gt;
3. Do you need to list all object's data ? (May be a work around can be enacted).&lt;/X&gt;</description>
      <pubDate>Thu, 09 Apr 2020 11:13:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232805#M4420</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2020-04-09T11:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help, label GDL, dynamic array</title>
      <link>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232806#M4421</link>
      <description>Thank you for you answer.&lt;BR /&gt;
&lt;BR /&gt;
Problem 3. Yes, I need to list all the values, it should be like an Excel data table (but inside the model), to record information about the construction process.</description>
      <pubDate>Tue, 26 May 2020 02:24:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232806#M4421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-26T02:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help, label GDL, dynamic array</title>
      <link>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232807#M4422</link>
      <description>Hello everyone, I am trying to rewrite the script with less coding.&lt;BR /&gt;
I am trying to initialize a dynamic array from UI_INFIELD, but it doesn't work, how should I fix this?&lt;BR /&gt;
I am attaching the second attempt.&lt;BR /&gt;
The error is that the dynamic array in the columns does not work&lt;BR /&gt;
Thanks.</description>
      <pubDate>Thu, 11 Jun 2020 03:27:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Help-label-GDL-dynamic-array/m-p/232807#M4422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-11T03:27:53Z</dc:date>
    </item>
  </channel>
</rss>

