Hi Guys,
I am using this code.
SaveItemDialog tmpDestination <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">SaveItemDialog</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">{</SPAN>
Title <SPAN class="operator token">=</SPAN> <SPAN class="string token">"ASCII Output file name"</SPAN><SPAN class="punctuation token">,</SPAN>
DefaultExt <SPAN class="operator token">=</SPAN> <SPAN class="string token">"txt"</SPAN><SPAN class="punctuation token">,</SPAN>
Filter <SPAN class="operator token">=</SPAN> <SPAN class="string token">"*.txt"</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">if</SPAN> <SPAN class="punctuation token">(</SPAN>tmpDestination<SPAN class="punctuation token">.</SPAN><SPAN class="token function">ShowDialog</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">==</SPAN> <SPAN class="keyword token">true</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">{</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>Normally with savefileDialog, I can use FileName property to add default file name for user, Is there any way in saveitemdialog?
And When I add Filter property, it display like "Default" in file extension below, how to make it obvious like txt extension?
