PUBLIC SUB M1_Apri_Click()
Dialog.Title = "Seleziona un terminale"
Dialog.Path = User.Home
Dialog.Filter = [("*.Gtn5250"), "Terminale"]
Dialog.OpenFile()
END
Uso gambas 2.19 con gtkSi.. ok.. ma quale DM hai sulla tua macchina? Gnome o KDE?
E' un problema correlato ai De...te lo dico io...
Mi è capitato di imbattermi in questo problema con il visualizzatore di meteomachine...gli utenti KDE ce l'avevano con me e invece il problema era proprio la gestione di questa cartella....
> Hi Benoit.
>
> It seems that there's a new bug in gb.gtk component.
> The bug doesn't exist in Gambas 2.16, but it's present
> in Gambas 2.19.
>
> The bug: when you set dialog.path = user.home
> using gb.gtk, the dialog window shows as starting path
> '/home' and not '/home/user'.
>
> No bug with gb.qt.
>
> Gambas 2.19.0
> qt: 3.3.8b
> gtk: 2.12.12
> Slackware 12.2
>
> Attached little example
>
> Saluti,
Fixed in revision #2664.
Regards,
--
Benoît Minisini