<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to VisuDialogs.FileOpenSave</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/</id><updated>2020-11-20T13:01:53.622000Z</updated><subtitle>Recent posts to VisuDialogs.FileOpenSave</subtitle><entry><title>VisuDialogs.FileOpenSave</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/?limit=25#5496/12b0/b6be/d8b6" rel="alternate"/><published>2020-11-20T13:01:53.622000Z</published><updated>2020-11-20T13:01:53.622000Z</updated><author><name>jeromebunel</name><uri>https://forge.codesys.com/u/jeromebunel/</uri></author><id>https://forge.codesys.com35f0cfc82c0c964ff6cb7ca4526f49fac00713cb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yes of course the solution is into the Button code or in the Function block.&lt;/p&gt;
&lt;p&gt;Is the source code of its  librairy is available ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>VisuDialogs.FileOpenSave</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/?limit=25#5496/12b0/5f12/0ddf" rel="alternate"/><published>2020-11-20T12:58:15.370000Z</published><updated>2020-11-20T12:58:15.370000Z</updated><author><name>jeromebunel</name><uri>https://forge.codesys.com/u/jeromebunel/</uri></author><id>https://forge.codesys.comca95c44d40914279c5ca11fc5c9b891831d7da31</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ok Thank you very much.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>VisuDialogs.FileOpenSave</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/?limit=25#5496/12b0/b6be" rel="alternate"/><published>2020-11-20T08:31:08.267000Z</published><updated>2020-11-20T08:31:08.267000Z</updated><author><name>sedoerr</name><uri>https://forge.codesys.com/u/sedoerr/</uri></author><id>https://forge.codesys.com1b28f102b505049bf41b6691c51b8d23d943d97c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;br/&gt;
ah sorry i see, i muddled up with file transfering. There is also an dialog for opening files, but a different one.&lt;/p&gt;
&lt;p&gt;Hmm i tried to have a look if i can find something for "btouch" but it seems that this is absolutely undocumented. &lt;br/&gt;
I think it has something to do with the buttons of this dialog?!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>VisuDialogs.FileOpenSave</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/?limit=25#5496/12b0/5f12" rel="alternate"/><published>2020-11-20T08:30:03.340000Z</published><updated>2020-11-20T08:30:03.340000Z</updated><author><name>kislov</name><uri>https://forge.codesys.com/u/kislov/</uri></author><id>https://forge.codesys.com4d40eb7f132e39bf24511eab947efa77b2a92af1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;About bTouch.&lt;/p&gt;
&lt;p&gt;It make sense if you enter a file/dir name (for example, you create new directory)&lt;/p&gt;
&lt;p&gt;bTouch := TRUE ---&amp;gt; using "virtual" keyboard (Keypad from VisuDialogs)&lt;br/&gt;
bTouch := FALSE ---&amp;gt; using hardware keyboard (you got just text input field with blinking cursor)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>VisuDialogs.FileOpenSave</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/?limit=25#5496/12b0" rel="alternate"/><published>2020-11-20T06:46:04.076000Z</published><updated>2020-11-20T06:46:04.076000Z</updated><author><name>jeromebunel</name><uri>https://forge.codesys.com/u/jeromebunel/</uri></author><id>https://forge.codesys.comcfa2dcff0f5f2506738263c765b9bae083b2fc94</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi sedoeer.&lt;/p&gt;
&lt;p&gt;what error code are you talking about?&lt;br/&gt;
What returns this error code ?&lt;/p&gt;
&lt;p&gt;The parameters "stFilter" and "bTouch" are 2 inputs of the Visu_FbFileListProvider.Iniatialize() method.&lt;br/&gt;
It's ok for "stFilter";i saw how does it work in the VisuDialogSt example. But i don't understand what is "bTouch".&lt;/p&gt;
&lt;p&gt;This link doesn't work&lt;br/&gt;
&lt;a href="https://store.codesys.com/alle-produkte/visu-file-transfer-example.html" rel="nofollow"&gt;https://store.codesys.com/alle-produkte/visu-file-transfer-example.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On CoDeSys store, the "Visu File Transfer Example" can't be downloaded. An error msg is send back "Error 403&lt;br/&gt;
Admin access required"&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>VisuDialogs.FileOpenSave</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/?limit=25#5496" rel="alternate"/><published>2020-11-19T09:07:00.520000Z</published><updated>2020-11-19T09:07:00.520000Z</updated><author><name>sedoerr</name><uri>https://forge.codesys.com/u/sedoerr/</uri></author><id>https://forge.codesys.com61529531346447a8c0c7ef07bf85c1c411e6f578</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thats a good question. I made it in this way that is looked on the error code. If user canceled the error code will show an error. if he user "load" it will give you a done.&lt;/p&gt;
&lt;p&gt;that was for me the only way to handle this problem.&lt;/p&gt;
&lt;p&gt;Where do you get this parameters?: "stFilter" and "bTouch"&lt;/p&gt;
&lt;p&gt;Do you used this example?&lt;br/&gt;
&lt;a href="https://store.codesys.com/alle-produkte/visu-file-transfer-example.html" rel="nofollow"&gt;https://store.codesys.com/alle-produkte/visu-file-transfer-example.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>VisuDialogs.FileOpenSave</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/?limit=25#9d7c" rel="alternate"/><published>2020-11-18T11:00:19.582000Z</published><updated>2020-11-18T11:00:19.582000Z</updated><author><name>jeromebunel</name><uri>https://forge.codesys.com/u/jeromebunel/</uri></author><id>https://forge.codesys.coma1a60d0ae791c7b655ec1483bc614339dc387e4c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello.&lt;br/&gt;
Thank you for your answer which corresponds exactly to my question.It works perfectly.&lt;br/&gt;
The problem is, my question was wrong.&lt;br/&gt;
The correct question is: how do you know if the user clicked on "Load" or "Cancel".&lt;/p&gt;
&lt;p&gt;Another question: can you explain how the parameters work: "stFilter" and "bTouch".&lt;/p&gt;
&lt;p&gt;When I put '.ini' or 'ini' in stFilter I expect to only view "ini" files.&lt;br/&gt;
This is not the case.&lt;/p&gt;
&lt;p&gt;thank you so much&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>VisuDialogs.FileOpenSave</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/?limit=25#58fa" rel="alternate"/><published>2020-11-18T09:00:58.964000Z</published><updated>2020-11-18T09:00:58.964000Z</updated><author><name>sedoerr</name><uri>https://forge.codesys.com/u/sedoerr/</uri></author><id>https://forge.codesys.com6a1310959905aa262860c5b1a5c81d60ccf82b99</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;FUNCTION&lt;/span&gt; &lt;span class="n"&gt;CheckDialogOpen&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;BOOL&lt;/span&gt;
&lt;span class="n"&gt;VAR_INPUT&lt;/span&gt;
    &lt;span class="n"&gt;sDialogName&lt;/span&gt;         &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;STRING&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;END_VAR&lt;/span&gt;
&lt;span class="n"&gt;VAR&lt;/span&gt;
    &lt;span class="n"&gt;pstClientData&lt;/span&gt;       &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;POINTER&lt;/span&gt; &lt;span class="k"&gt;TO&lt;/span&gt; &lt;span class="n"&gt;VisuElems&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;VisuStructClientData&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;itfDialogManager&lt;/span&gt;    &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;VisuElems&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;IDialogManager&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;itfMyDialog&lt;/span&gt;         &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;VisuElems&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;IVisualisationDialog&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;END_VAR&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="nv"&gt;Pr&lt;/span&gt;ü&lt;span class="nv"&gt;fen&lt;/span&gt; &lt;span class="nv"&gt;ob&lt;/span&gt; &lt;span class="nv"&gt;Dialogfenster&lt;/span&gt; &lt;span class="nv"&gt;ge&lt;/span&gt;ö&lt;span class="nv"&gt;ffnet&lt;/span&gt;
&lt;span class="nv"&gt;VisuElems&lt;/span&gt;.&lt;span class="nv"&gt;g_ClientManager&lt;/span&gt;.&lt;span class="nv"&gt;BeginIteration&lt;/span&gt;&lt;span class="ss"&gt;()&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;WHILE&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;pstClientData&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;VisuElems&lt;/span&gt;.&lt;span class="nv"&gt;VisuElemBase&lt;/span&gt;.&lt;span class="nv"&gt;g_ClientManager&lt;/span&gt;.&lt;span class="nv"&gt;GetNextClient&lt;/span&gt;&lt;span class="ss"&gt;())&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="k"&gt;DO&lt;/span&gt;
    &lt;span class="k"&gt;IF&lt;/span&gt; &lt;span class="nv"&gt;LEN&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;TO_STRING&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;pstClientData&lt;/span&gt;&lt;span class="o"&gt;^&lt;/span&gt;.&lt;span class="nv"&gt;GlobalData&lt;/span&gt;.&lt;span class="nv"&gt;CurrentUserName&lt;/span&gt;&lt;span class="ss"&gt;))&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="k"&gt;THEN&lt;/span&gt;  &lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="nv"&gt;Nur&lt;/span&gt; &lt;span class="nv"&gt;Dialoge&lt;/span&gt; &lt;span class="nv"&gt;f&lt;/span&gt;ü&lt;span class="nv"&gt;r&lt;/span&gt; &lt;span class="nv"&gt;den&lt;/span&gt; &lt;span class="nv"&gt;angemeldeten&lt;/span&gt; &lt;span class="nv"&gt;Benutzer&lt;/span&gt; &lt;span class="nv"&gt;pr&lt;/span&gt;ü&lt;span class="nv"&gt;fen&lt;/span&gt;
        &lt;span class="nv"&gt;itfDialogManager&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;VisuElems&lt;/span&gt;.&lt;span class="nv"&gt;g_VisuManager&lt;/span&gt;.&lt;span class="nv"&gt;GetDialogManager&lt;/span&gt;&lt;span class="ss"&gt;()&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
        &lt;span class="nv"&gt;itfMyDialog&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;itfDialogManager&lt;/span&gt;.&lt;span class="nv"&gt;GetDialog&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;sDialogName&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;

        &lt;span class="nv"&gt;CheckDialogOpen&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;VisuDialogs&lt;/span&gt;.&lt;span class="nv"&gt;VisuDlgUtil_IsDialogOpen&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;itfMyDialog&lt;/span&gt;,&lt;span class="nv"&gt;pstClientData&lt;/span&gt;,&lt;span class="nv"&gt;itfDialogManager&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
    &lt;span class="nv"&gt;END_IF&lt;/span&gt;
&lt;span class="nv"&gt;END_WHILE&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>VisuDialogs.FileOpenSave</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5073cda2f3/?limit=25#0d60" rel="alternate"/><published>2020-11-17T15:34:05.751000Z</published><updated>2020-11-17T15:34:05.751000Z</updated><author><name>jeromebunel</name><uri>https://forge.codesys.com/u/jeromebunel/</uri></author><id>https://forge.codesys.com8804e546f0f13589187b388735be0c03dd655315</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi. I try to use the visu Dialog "VisuDialogs.FileOpenSave;"&lt;br/&gt;
When i open this dailog, all is display correctly.&lt;/p&gt;
&lt;p&gt;When the Dialog is closed, the file name selected by the user is available by calling the GetSelectedFileName method.&lt;/p&gt;
&lt;p&gt;My question is : how to know when this Dialogs windows is closed.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>