[Gambas-user] Setting path in Dialog

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Jan 27 23:24:25 CET 2016


It seems to work in here.
If the path is "/home/yourname/Desktop", then it will open "/home/yourname"
with "Desktop" as a file name.
But if the path is "/home/yourname/Desktop/", then it will open the whole
path without default file name.

"/home/yourname/Desktop/default" will give "default" as the suggested file
name.

What the variable "Dateiname$" contains?


Jussi

On Tue, Jan 19, 2016 at 7:11 PM, Rolf-Werner Eilert <
eilert-sprachen at ...221...> wrote:

> Want to set a filename and ask the user to confirm name and directory:
>
>      Dialog.Path = Dateiname$
>      Dialog.Filter = ["*.frm", "Formulare", "*", "Alle Dateien"]
>      If Dialog.SaveFile() Then Return
>
> When Save Dialog appears, it fills in the name of the File (base name
> and extension), but it sets the Directory List above to the application
> path and not the path contained in Dateiname$.
>
> How can I set the directory?
>
> Regards
> Rolf
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> 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