[Gambas-user] enumerate forms

Steven Lobbezoo steven at ...1652...
Sun Jan 27 15:56:18 CET 2008


Le Sunday 27 January 2008 15:41:36 Stefano Palmeri, vous avez écrit :
> or better:
>
> DIM sFormName AS String
>
>   FOR EACH sFormName IN Dir(Application.Path, "*.form").Sort()
>     PRINT file.BaseName(sFormName)
>   NEXT
>
> Stefano
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Thanks Stefano.
I did the same, untill it came to me :-(  that in the execution environment 
these files are not there.
So, it can't be done like this.
However, since I can call forms by name (open formname), the data must be 
available somewhere in the executable.
I will continue playing detective.

Thanks,
Steven





More information about the User mailing list