[Gambas-user] (no subject)

Henri Girard girardhenri at ...67...
Sun Nov 12 10:10:36 CET 2006


this one :
procedure save (guardar)
5th lines
lineas = listBox1.Contents
contents is not recongnize in gambas2
how to do it ?
cheers
Henri


http://www.laclavedefa.org/codigo_abierto/gambas_tutorial/gambas_tutorial_es.html

PUBLIC SUB Guardar_Click()

    lineas AS String

    destino AS String

    numArchivo AS Integer

    lineas = ListBox1.Contents

    Dialog.Title = "Seleccione un archivo"

    Dialog.Filter = [ "Datos de agenda (*.data)" ]

    IF NOT Dialog.SaveFile() THEN

        IF Right$(Dialog.Path, 5) <> ".data" THEN

            destino = Dialog.Path & ".data"

        ELSE

            destino = Dialog.Path

        END IF

            File.Save(destino, lineas)

    END IF

END







----- Original Message ----- 
From: "Benoit Minisini" <gambas at ...1...>
To: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
Sent: Saturday, November 11, 2006 9:41 PM
Subject: Re: [Gambas-user] (no subject)


> On Friday 10 November 2006 19:29, Henri Girard wrote:
>> I am trying to make the example agenda from version gambas 1 with 1.9.46
>> everything works except : lineas= listBox1.Contents
>> what is Contents for gambas2 ?
>> and how can i set the menu to work with the same sub as the button ?
>> i thaught it was in action option but apparently it doesn't work
>>
>> thanks
>> Henri
>
> I don't know what this example is...
>
> -- 
> Benoit Minisini
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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