<?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: How to put Input over Image in User Interface GDL in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238692#M1084</link>
    <description>You're on the right track: Things that come later in the script are getting drawn above the items which came before.&lt;BR /&gt;
But – and I admit this is really silly and inexplicable – to be able to write into that infield, you have to put it there twice: once before and once after the ui_pict.&lt;BR /&gt;
¯\_(ツ)_/¯&lt;BR /&gt;
&lt;BR /&gt;
I.e.:
&lt;PRE&gt;UI_INFIELD "l_fund", 100,100, 60, 20
UI_PICT 'arch.png', 0, 0, 370, 320
UI_INFIELD "l_fund", 100,100, 60, 20&lt;/PRE&gt;</description>
    <pubDate>Sun, 19 Apr 2020 21:55:43 GMT</pubDate>
    <dc:creator>runxel</dc:creator>
    <dc:date>2020-04-19T21:55:43Z</dc:date>
    <item>
      <title>How to put Input over Image in User Interface GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238691#M1083</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello, I have an image in the user interface and I want to put some Inputs over the image.&lt;BR /&gt;
&lt;BR /&gt;
I managed to position them where I want, only that it doesn't work, only those that are out of the picture work.&lt;BR /&gt;
&lt;BR /&gt;
Is there any possibility to order them on the Z axis, for example Z +1, the image to be down and the inputs to be over to work?&lt;BR /&gt;
&lt;BR /&gt;
I have&lt;BR /&gt;
	UI_PICT 'arch.png', 0, 0, 370, 320&lt;BR /&gt;
	UI_INFIELD "l_fund", 100,100, 60, 20&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 19 Apr 2020 19:53:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238691#M1083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-19T19:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to put Input over Image in User Interface GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238692#M1084</link>
      <description>You're on the right track: Things that come later in the script are getting drawn above the items which came before.&lt;BR /&gt;
But – and I admit this is really silly and inexplicable – to be able to write into that infield, you have to put it there twice: once before and once after the ui_pict.&lt;BR /&gt;
¯\_(ツ)_/¯&lt;BR /&gt;
&lt;BR /&gt;
I.e.:
&lt;PRE&gt;UI_INFIELD "l_fund", 100,100, 60, 20
UI_PICT 'arch.png', 0, 0, 370, 320
UI_INFIELD "l_fund", 100,100, 60, 20&lt;/PRE&gt;</description>
      <pubDate>Sun, 19 Apr 2020 21:55:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238692#M1084</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2020-04-19T21:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to put Input over Image in User Interface GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238693#M1085</link>
      <description>Is that not what &lt;B&gt;DRAWINDEX&lt;/B&gt; is for? I have never used it, but by the reference guide that is what is does.</description>
      <pubDate>Mon, 20 Apr 2020 01:42:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238693#M1085</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2020-04-20T01:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to put Input over Image in User Interface GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238694#M1086</link>
      <description>Yes this can be a bit of a problem but runxel has given you the solution.&lt;BR /&gt;
&lt;BR /&gt;
The UI_INFIELD scripted before the UI_PICT is the active one that the user can alter.&lt;BR /&gt;
But the problem is that the UI_PICT covers it and the user can't see it.&lt;BR /&gt;
So you add a second UI_INFIELD after the UI_PICT that the user can see (but isn't really the one they are altering).&lt;BR /&gt;
&lt;BR /&gt;
For some reason that I can't understand, just having the UI_INFIELD after the UI_PICT as you have done, while visible to the user, it is not editable.&lt;BR /&gt;
&lt;BR /&gt;
I haven't tried with images that have a transparent alpha channel, so I am no sure if that makes any difference.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 20 Apr 2020 01:45:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238694#M1086</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-04-20T01:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to put Input over Image in User Interface GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238695#M1087</link>
      <description>&lt;BLOCKQUOTE&gt;Lingwisyer wrote:&lt;BR /&gt;
Is that not what &lt;B&gt;DRAWINDEX&lt;/B&gt; is for? I have never used it, but by the reference guide that is what is does.
&lt;/BLOCKQUOTE&gt;

No that is for layering the 2D images displayed by the object.&lt;BR /&gt;
This problem is in the user interface.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 20 Apr 2020 01:51:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238695#M1087</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-04-20T01:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to put Input over Image in User Interface GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238696#M1088</link>
      <description>Ah. I had figured that I would work with the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;UI Script&lt;E&gt;&lt;/E&gt; as well as it is essentially 2D as well.</description>
      <pubDate>Mon, 20 Apr 2020 03:19:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238696#M1088</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2020-04-20T03:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to put Input over Image in User Interface GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238697#M1089</link>
      <description>Thank you very much! Good luck with the forum, there are no video tutorials.</description>
      <pubDate>Mon, 20 Apr 2020 11:33:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-put-Input-over-Image-in-User-Interface-GDL/m-p/238697#M1089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-20T11:33:22Z</dc:date>
    </item>
  </channel>
</rss>

