[Gambas-user] method $load , any wiki for explain it ?

zainudin ahmad author.ilmi at ...626...
Mon Jun 6 19:05:33 CEST 2016


I have declare , Private $lOad as Long <-- only one in class FMain (attach
project)
when I will run project, I get "$Load already declared" (attach pic)

in where I have declared the other $Load ?
in terminal, doing: gbc3 -v /[pathprojectdir] (example : gbc3 -v
/home/user/MyProject) you can get the answer (its show the "Gambas binary
code")

On Mon, Jun 6, 2016 at 4:26 AM, T Lee Davidson <t.lee.davidson at ...626...>
wrote:

> On 06/05/2016 04:55 PM, zainudin ahmad wrote:
> > the project contain Main form (without any code). I get the result :
> >
> > ------------------------------------------------------------------------
> > Compiling Main.class...
> > Inherits Form
> >
> >
> > Private Sub {$load}()       << (what I mean)
> >
> >    With Me
> >      .MoveScaled(0,0,64,64)
> >    End With
> >
> > End
> >
>
> [snip]
>
> >
> > On Sun, Jun 5, 2016 at 11:00 PM, T Lee Davidson <
> t.lee.davidson at ...626...>
> > wrote:
> >
> >> On 06/05/2016 06:10 AM, zainudin ahmad wrote:
> >>> $load is used , there is any other method has declared and wiki for
> >> explain
> >>> it ?
> >>
> >> Is this what you are looking for?
> >> http://gambaswiki.org/wiki/comp/gb/file/load
> >>
>
> I am really confused as to what you are attempting. You say the Main form
> has no code, but then you show code for a private
> subroutine named "$load" which, as far as I know, does not exist in Gambas.
>
> And, if you are creating a graphical application with the IDE, there
> should be no need to include the "Inherits Form" statement.
> It appears as though you may be trying to create a (graphical) form from a
> non-graphical command line application. But, that is
> difficult to determine without seeing your code.
>
> If you could attach a small project file so we can better see what you are
> trying to do, it might help.
>
> In the meantime, perhaps what you need is the Form_Open event handler:
>
> Public Sub Form_Open()
>
>    With Me
>      .MoveScaled(0,0,64,64)
>    End With
>
> End
>
> If applicable, see the examples at:
> http://gambaswiki.org/wiki/comp/gb.qt4/form
>
>
> --
> Lee
> __________
>
> "Artificial Intelligence is no match for natural stupidity."
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-$load-0.0.1.tar.gz
Type: application/x-gzip
Size: 11320 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20160607/138ccc0a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic-1.png
Type: image/png
Size: 44161 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20160607/138ccc0a/attachment.png>


More information about the User mailing list