Re: [Gambas-user] A question to a control

2011-09-22 Thread Dag-Jarle Johansen
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..].

Re: [Gambas-user] A question to a control

2011-09-22 Thread Jussi Lahtinen
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

Re: [Gambas-user] A question to a control

2011-09-22 Thread Dag-Jarle Johansen
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

Re: [Gambas-user] A question to a control

2011-09-22 Thread Jussi Lahtinen
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

Re: [Gambas-user] A question to a control

2011-09-22 Thread Dag-Jarle Johansen
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

Re: [Gambas-user] A question to a control

2011-09-21 Thread Jussi Lahtinen
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

Re: [Gambas-user] A question to a control

2011-09-19 Thread Jussi Lahtinen
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:

Re: [Gambas-user] A question to a control

2011-09-19 Thread Dag-Jarle Johansen
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