<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to opening numpad in Structured Code ST</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/25bf91c695/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/25bf91c695/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/25bf91c695/</id><updated>2021-12-20T15:49:06.597000Z</updated><subtitle>Recent posts to opening numpad in Structured Code ST</subtitle><entry><title>opening numpad in Structured Code ST</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/25bf91c695/?limit=25#74a8/4e34" rel="alternate"/><published>2021-12-20T15:49:06.597000Z</published><updated>2021-12-20T15:49:06.597000Z</updated><author><name>vincent.v</name><uri>https://forge.codesys.com/u/vincent1986/</uri></author><id>https://forge.codesys.com145144a0fed98a7023f73532e56e119b82bc3dcd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Marcel, &lt;/p&gt;
&lt;p&gt;Thank you very much for you answer. You have certainly helped me further.&lt;br/&gt;
I keep looking for the final result.&lt;/p&gt;
&lt;p&gt;happy holidays!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br/&gt;
Vincent&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>opening numpad in Structured Code ST</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/25bf91c695/?limit=25#74a8" rel="alternate"/><published>2021-12-16T07:32:50.901000Z</published><updated>2021-12-16T07:32:50.901000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.come47afd24bbd618076cd13a126e7472dfca312b38</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;First of all sorry to disappoint you here.&lt;br/&gt;
There is no clean API which you can use to open a numpad/keypad from IEC.&lt;br/&gt;
You can of course open your own dialog, but then you would have to do the parsing of inputs etc yourself...&lt;br/&gt;
I raised an improvement to address your use case.&lt;/p&gt;
&lt;p&gt;Apart from this, I think you could also achieve this with the attached example.&lt;br/&gt;
One known limitation of the example is that the numpad will be opened when you leave the visualization with the mouse. That is dont ideal, but that can be solved as well (e.g. closing all numpads when the lock is active etc).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>opening numpad in Structured Code ST</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/25bf91c695/?limit=25#7d8c/7dc9" rel="alternate"/><published>2021-12-15T08:32:52.605000Z</published><updated>2021-12-15T08:32:52.605000Z</updated><author><name>vincent.v</name><uri>https://forge.codesys.com/u/vincent1986/</uri></author><id>https://forge.codesys.com69e9802950dbb40f79c9d9900275e5e931f3a96b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Marcel, &lt;/p&gt;
&lt;p&gt;I'm programming now an HMI of a machine &lt;/p&gt;
&lt;p&gt;I used to do it with a mouse click, and this was a lot easier. Now I have written a function where I can block the parameter of the machine (as administrator) on long-click the parameter and on short-click change the parameter. so now this has to be done via code&lt;/p&gt;
&lt;p&gt;can you help me further? how to do it right? as it should&lt;/p&gt;
&lt;p&gt;Many Thanks&lt;br/&gt;
Vincent &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>opening numpad in Structured Code ST</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/25bf91c695/?limit=25#7d8c" rel="alternate"/><published>2021-12-14T16:04:11.369000Z</published><updated>2021-12-14T16:04:11.369000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.comac661a695131abd897edb96863bb52bd520a135d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;First of all you really should not use GetNextClient and OpenDialog.&lt;br/&gt;
This can cause real issues when incorrectly accessed, in the worst case an exception stopping the whole application.&lt;/p&gt;
&lt;p&gt;Could you help me understand what you are trying to do and why you want to open the numpad from IEC and not by a mouse click?&lt;/p&gt;
&lt;p&gt;Thanks a lot&lt;br/&gt;
Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>opening numpad in Structured Code ST</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/25bf91c695/?limit=25#4a9f" rel="alternate"/><published>2021-12-14T13:24:48.340000Z</published><updated>2021-12-14T13:24:48.340000Z</updated><author><name>vincent.v</name><uri>https://forge.codesys.com/u/vincent1986/</uri></author><id>https://forge.codesys.com0b358d57f47628b99c9e8ab20cc764746bf105e8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;HI,&lt;br/&gt;
Now i can open the dialog with the values 'min' 'max' in it ( see image), but i'm stuck with 1 problem, and this is write the value parameter. &lt;br/&gt;
Anyone who can help?&lt;br/&gt;
many thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>opening numpad in Structured Code ST</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/25bf91c695/?limit=25#8f65" rel="alternate"/><published>2021-12-10T13:35:19.285000Z</published><updated>2021-12-10T13:35:19.285000Z</updated><author><name>vincent1986</name><uri>https://forge.codesys.com/u/vincent1986/</uri></author><id>https://forge.codesys.com4f2fd76f9f9a55303c2a52e5bb4951300bb75493</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;br/&gt;
I'm new to the codesys and to forge. &lt;br/&gt;
I'm searching a way to open the numpad with ST code and given the value to be overwritten and the min and max value is may be. &lt;br/&gt;
It's being a while i searching for it . but still doesn't find it &lt;/p&gt;
&lt;p&gt;Kind regards &lt;br/&gt;
Vincent&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>