[Gambas-user] file problem on 2.21 ubuntu

Benoit Minisini gambas at ...1...
Sat Mar 22 21:42:36 CET 2008


On samedi 22 mars 2008, jbskaggs wrote:
> The other day I was given a file save example to learn on.
>
> In my program I have about six forms.  On all my forms when I use the word
> file I have the choice of choosing file as  class or file as command.
>
> but on my form3 it does not give me the option of using the file command
> (denoted by a blackdiamond) rather only as as class? (denoted by a form
> image)
>
> here are screenshots:
>
> This first one shows the proper file command with the black diamond- (the
> bix pops up when I type the word file) so when I choose the the one with
> diamond I can use commands like save, load, read, write etc.
>
> http://www.nabble.com/file/p16225751/Screenshot-1.png
>
>
> This is the second one.  As you cansee on the popup box it does not offer
> the file command with the black diamond- only a form image and will not let
> me open, load, save, read, or write.
>
> http://www.nabble.com/file/p16225751/Screenshot.png
>
> What can I do to get the form to let me use the right file command?  In
> other words what have I done wrong?
>
> JB Skaggs

"File" is the File class defined globally, and "file" should be a symbol 
named "file" that is present somewhere in one file, and not in the other.

Regards,

-- 
Benoit Minisini




More information about the User mailing list