[Gambas-user] Dialog.SaveFile() and Dialog.Path problem
Jussi Lahtinen
jussi.lahtinen at ...626...
Wed Oct 5 16:35:33 CEST 2011
Seems to work as expected, at least with revision 4172.
What is then the path it opens?
Jussi
On Wed, Oct 5, 2011 at 12:28, Demosthenes Koptsis <demosthenesk at ...626...>wrote:
> Good morning,
>
> i have the next code:
>
> ------------------------------
> Public Sub btnSaveFile_Click()
>
> Dialog.Filter = ["*.txt", "Text Files"]
> Dialog.Path = Application.Path
> If Dialog.SaveFile() Then Return
> File.Save(Dialog.Path, txtArea.Text)
>
> Catch
> Message.Info(Error.Text)
>
> End
> -----------------------------
>
> When the Save dialog shows up it does not have the correct Path as
> Dialog.Path = Application.Path
>
> gambas3-svn4145
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
More information about the User
mailing list