Hello Jussi,
first thanks for concerning.
I tried to send you the complete project, but gambas-user-listing said: too
big.
Yes I am using Gambas3, Rev.4128, and Ubuntu 10.04.2LTS with Gnome.
I have not stored the pictrue in the DB, only path+name, and then load it
with yyy.Picture[..path..].
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
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.lahti...@gmail.com
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
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
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.lahti...@gmail.com
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
Not sure everything is set up correctly, I can't find pictures from your
database.
Also I get error from variable yyy which is type control, there is no
property named picture!
So, I declared it as object for testing.
You are using Gambas 3?
You didn't get errors?
Jussi
PS. Next time if possible
Cannot see error in this part of the code.
What happens if you add Debug yyy.Name;;RS!typ under 'Case PictureBox,
Button'?
Does it get executed?
Send the project with sample database if possible.
Jussi
On Mon, Sep 19, 2011 at 15:59, Dag-Jarle Johansen
dag.jarle.johan...@gmail.com wrote:
Hi Jussi,
I get
panTB (? RS!parent)
TB1_Refresh (yyy.name)
Button (RS!typ)
What should be the correct Elements to me.
I send you the project and a sql-dump (PHP-Admin) of the DB.
Thanks in advance,
Dag-Jarle
2011/9/19 Jussi Lahtinen jussi.lahti...@gmail.com
Cannot see error in this part