[Gambas-user] Simple Log Viewer (Gambas Log Viewer)

Valerio Guaglianone valerioguaglianone at ...152...
Sat Oct 9 20:02:09 CEST 2004


Alle 15:56, sabato 9 ottobre 2004, Ivan La Malfa ha scritto:
> You can use a TabStrip control.
>
>
> PUBLIC SUB Button3_Click()
>     LoadLog(txtPath.Text ) 'A new TextBox with the file to open
> END
>
>
> PRIVATE SUB LoadLog(strFile AS String)
>           Dialog.Path=strFile
>           IF NOT Exist(Dialog.Path) THEN
>                     Message.Info("Attention: path or file not valid!")
>           ELSE
>                     TextArea1.Text=File.Load(Dialog.Path)
>           END IF
> END
>
> Remember that you can make easily a "source code pack" clicking in the
> "Make source package..." on the "Project" menu.
>
> This is because there are more files in the directory that those you can
> "view" (those who tells gambas that the directory is a gambas proyect)
>
> Bye.

Ok thank Ivan ;-)
-- 
Chi usa Microsoft Outlook è pregato di non inserire il mio indirizzo
e-mail nella propria rubrica: non voglio essere invaso da "virus-mail"
ogni volta che viene scoperto uno dei suoi numerosissimi bug. Grazie.
-----------------------------------------------------------------------------------------
Registered GNU/Linux user n°: 353242 * Uri: http://www.valerio.tk/




More information about the User mailing list