<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Dynamic buttons</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ed1ab37f5f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ed1ab37f5f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/ed1ab37f5f/</id><updated>2020-02-27T18:01:25.415000Z</updated><subtitle>Recent posts to Dynamic buttons</subtitle><entry><title>Dynamic buttons</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ed1ab37f5f/?limit=25#3678" rel="alternate"/><published>2020-02-27T18:01:25.415000Z</published><updated>2020-02-27T18:01:25.415000Z</updated><author><name>lucaver89</name><uri>https://forge.codesys.com/u/lucaver89/</uri></author><id>https://forge.codesys.comd5b647e6edbaa62c1c49fb78bed7dfdf15b14fbe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The function task should be like to &lt;a class="" href="https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/Button.html" rel="nofollow"&gt;https://docs.oracle.com/javase/8/javafx ... utton.html&lt;/a&gt; with all metod inside.&lt;/p&gt;
&lt;p&gt;If is not possilble is not problem, I'll create a specified number of button. &lt;/p&gt;
&lt;p&gt;Another issue, Is possible load an image from usb or specified path?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Dynamic buttons</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ed1ab37f5f/?limit=25#736e" rel="alternate"/><published>2020-02-27T18:01:22.393000Z</published><updated>2020-02-27T18:01:22.393000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com591e91bdf8fca2bf8c4205fb61bc71b23857057a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; D. Kugler&lt;/p&gt;
&lt;p&gt;the question ist, what shell the function of this buttons should be? Show a image and be hidden, if you click on it?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Dynamic buttons</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ed1ab37f5f/?limit=25#008d" rel="alternate"/><published>2020-02-27T18:01:21.312000Z</published><updated>2020-02-27T18:01:21.312000Z</updated><author><name>Comingback4u</name><uri>https://forge.codesys.com/u/comingback4u/</uri></author><id>https://forge.codesys.coma939eefdec59da61b36767ba2ada056abc97fc9a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I believe this can't be done in CoDeSys.&lt;/p&gt;
&lt;p&gt;Your best bet is to put the most buttons you would ever need on a page then use the code to define what buttons are visible, the location of the buttons, and the size of the buttons.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Dynamic buttons</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ed1ab37f5f/?limit=25#1536" rel="alternate"/><published>2020-02-27T18:01:20.234000Z</published><updated>2020-02-27T18:01:20.234000Z</updated><author><name>lucaver89</name><uri>https://forge.codesys.com/u/lucaver89/</uri></author><id>https://forge.codesys.comeeac99a7ac06f976af6b4de6275bcba70ea864cc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi to all,&lt;/p&gt;
&lt;p&gt;Is possible create a button in a specified position by structured text function? &lt;/p&gt;
&lt;p&gt;For example, I would like assume that in a part of my program there is a variable called ```&lt;/p&gt;
&lt;p&gt;num_of_buttons :UDINT :=3&lt;/p&gt;
&lt;p&gt;```  and in the main program something like that&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;   &lt;span class="k"&gt;FOR&lt;/span&gt; &lt;span class="nv"&gt;index&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="nv"&gt;TO&lt;/span&gt; &lt;span class="nv"&gt;num_of_button&lt;/span&gt; &lt;span class="k"&gt;DO&lt;/span&gt;
       &lt;span class="nv"&gt;create_new_button&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;W&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;50&lt;/span&gt;, &lt;span class="nv"&gt;H&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;50&lt;/span&gt;, &lt;span class="nv"&gt;X&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;, &lt;span class="nv"&gt;Y&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;, &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;img:=&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;something&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;);&lt;/span&gt;
   &lt;span class="nv"&gt;END_FOR&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I'm really sorry but I'm trying to learn by myelf&lt;/p&gt;
&lt;p&gt;Thanks&lt;br/&gt;
Luca&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>