[Gambas-user] A question to a control

Dag-Jarle Johansen dag.jarle.johansen at ...626...
Thu Sep 22 21:37:28 CEST 2011


Thanks for your great help, Jussi.

I will mail in the group next time.

Have a nice time.

Regards,
Dag-Jarle

2011/9/22 Jussi Lahtinen <jussi.lahtinen at ...626...>

> I'm sorry, I'm out of time until October.
> But I tested your code and I didn't get any errors, all worked correctly
> (pictures appeared into buttons).
> So, I think something is not correct in your system.
>
> Run these...;
> sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3
> /usr/local/bin/gbi3
> sudo rm -rf /usr/local/lib/gambas3
> sudo rm -rf /usr/local/share/gambas3
> cd ~/trunk # or whatever your source path is.
> sudo make clean
>
> ...and re-compile Gambas3:
> ( ./reconf-all && ./configure -C && make ) > compile.log 2>&1
> sudo make install
>
> If still no luck, send compile.log to list and maybe someone else can help
> you.
>
>
> Jussi
>
>
>
>
> On Thu, Sep 22, 2011 at 22:02, Dag-Jarle Johansen <
> dag.jarle.johansen at ...626...> wrote:
>
> > Hi Jussi,
> >
> > I have now tried out everything, and get "Picture not an object" in every
> > situation.
> > The path was not wrong, something else is running in red. The message
> > poping
> > up is: "Not an object." I have attatched a screenshot of the situation as
> > it
> > happens.
> >
> > The "NotObject" still takes the tooltip, oh wonder - lol
> >
> > By the way, I have sent a message about a signal 11 - the call in
> question
> > calls a form, in wich I use virtual Pictureboxes too. As I programmed
> this,
> > it worked fine. Now I havent used that form since several days, and it
> > makes
> > me think - perhaps both errors are related. It seems to me, in case of
> > Pictureboxes, all done in the IDE works fine, all virtual Controls have a
> > problem. BTW, I have updatet the svn and compiled a new today. I will use
> > the IDE to get to my results, meanwhile, but it would be nice to get a
> > solution to this.
> >
> >
> > Thanks and regards, Dag-Jarle
> >
> > 2011/9/22 Dag-Jarle Johansen <dag.jarle.johansen at ...626...>
> >
> > > Thank you, Jussi,
> > >
> > > I am very fond of your help. I will try your way.
> > >
> > > Thanks again, regards
> > > Dag-Jarle
> > >
> > >
> > > 2011/9/22 Jussi Lahtinen <jussi.lahtinen at ...626...>
> > >
> > >> > I have not stored the pictrue in the DB, only path+name, and then
> load
> > >> it
> > >> > with yyy.Picture[..path..].
> > >>
> > >>
> > >> Ah, yes of course. I was bit too hurry to concentrate enough. I just
> saw
> > >> null picture and stopped.
> > >>
> > >> Where is your "Icons" folder? If you place it under "Data" your code
> > >> should
> > >> work!
> > >> Meaning cut&paste the "Icon" folder to root of project folder, if it
> is
> > >> not
> > >> there already.
> > >>
> > >> I did that and it works.
> > >> *Benoit*, why there isn't error message when Button.Picture =
> > >> Picture[sInvalidPath] fails?
> > >>
> > >>
> > >>
> > >> That works perfectly with an PictureBox created
> > >> > in the IDE. I am not sure, if an object has the same properties as a
> > >> > control, but I will try it out.
> > >> >
> > >>
> > >> No no, object is same to class as type variant is to integer, float,
> > etc.
> > >> So, it holds all properties what is associated to it.
> > >>
> > >>
> > >>
> > >> Are you familiar with SkyDrive? I made a folder containing the
> complete
> > >> > project, and have sent you an invitation on your gmail-adress.
> > >> >
> > >>
> > >> I haven't use. Glad that you mentioned, it was in spam folder...
> > >>
> > >>
> > >> Jussi
> > >>
> > >>
> >
> ------------------------------------------------------------------------------
> > >> All the data continuously generated in your IT infrastructure contains
> a
> > >> definitive record of customers, application performance, security
> > >> threats, fraudulent activity and more. Splunk takes this data and
> makes
> > >> sense of it. Business sense. IT sense. Common sense.
> > >> http://p.sf.net/sfu/splunk-d2dcopy1
> > >> _______________________________________________
> > >> Gambas-user mailing list
> > >> Gambas-user at lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >>
> > >
> > >
> >
> >
> >
> ------------------------------------------------------------------------------
> > All the data continuously generated in your IT infrastructure contains a
> > definitive record of customers, application performance, security
> > threats, fraudulent activity and more. Splunk takes this data and makes
> > sense of it. Business sense. IT sense. Common sense.
> > http://p.sf.net/sfu/splunk-d2dcopy1
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> 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