Page 10 of 106

Re: Welcome to the Project Developers' Table

Posted: Mon Aug 23, 2010 7:46 pm
by Ricci
mol wrote:I've completed IMAGE class, too.
I only need to clean up code
Marek
Marek, will TIF be included this time?

Regards ... Ricci

Re: Welcome to the Project Developers' Table

Posted: Mon Aug 23, 2010 7:53 pm
by dhaine_adp
Hi Roberto,

Attached herewith is the crude implementation of grid. The code is still highly experimental. The zip files contains the source code for grid and the demo_1.prg. There is an error message that I cannot find from where it originates. I tried my best to isolate it but I have no luck yet. Also I posted the error message that I encountered.

HBQT has several views that can be used but deciding which one is more generic and more applicable is yet to be determined through experiments. So in this implementation, I have not reach the point when the source is a table, it's just plain and simple array.

HBQT has several Q..Views and model but deciding which one is more generic somewhat difficult as of the moment. So I took this Q..Widget that looks easy to tame.

The error seems to be related to a message. I tried my best to isolate it and I even added a new property to accomodate the value on line 45 of demo_1.prg. However it seems its not the right solution. If you have any idea about that please let me know. The error message has stalled me.

Regards,

Danny

Re: Welcome to the Project Developers' Table

Posted: Mon Aug 23, 2010 8:18 pm
by Roberto Lopez
mol wrote:I've deleted my HMG.4\svn\samples and HMG.4\svn\source folders. Then I've updated these folders from SVN, recompiled samples\image\demo_1.prg and nothing better happened :(

Maybe the rest of the team could test this sample?
It's very strange - it does not work on my three computers two with XP and one with win'7.
mmm... I'm using Win7 right now...

Perhaps, the difference is that I've installed the complete QT package, since I've needed to create Harbour with QT libraries to distribute...

Maybe QT installed something more in my system folder... I'll google the issue to find if something arises...

Re: Welcome to the Project Developers' Table

Posted: Mon Aug 23, 2010 8:33 pm
by Roberto Lopez
Roberto Lopez wrote:Perhaps, the difference is that I've installed the complete QT package, since I've needed to create Harbour with QT libraries to distribute...

Maybe QT installed something more in my system folder... I'll google the issue to find if something arises...
Yes, that is the problem. I've uninstalled QT and I have support for .bmp only.

Well.. I guess that the way to go is to put this in the pending list until we find what component of QT installation is required to make this work.

An interesting thing is that I've tested without recompiling, so is something that .exe search at runtime (surely a .dll located in system32 folder).

Re: Welcome to the Project Developers' Table

Posted: Mon Aug 23, 2010 8:46 pm
by Roberto Lopez
dhaine_adp wrote:Hi Roberto,

Attached herewith is the crude implementation of grid. The code is still highly experimental. The zip files contains the source code for grid and the demo_1.prg. There is an error message that I cannot find from where it originates. I tried my best to isolate it but I have no luck yet. Also I posted the error message that I encountered.

HBQT has several views that can be used but deciding which one is more generic and more applicable is yet to be determined through experiments. So in this implementation, I have not reach the point when the source is a table, it's just plain and simple array.

HBQT has several Q..Views and model but deciding which one is more generic somewhat difficult as of the moment. So I took this Q..Widget that looks easy to tame.

The error seems to be related to a message. I tried my best to isolate it and I even added a new property to accomodate the value on line 45 of demo_1.prg. However it seems its not the right solution. If you have any idea about that please let me know. The error message has stalled me.

Regards,

Danny
You've not created a 'value' method for grid and you are not inheriting one from control, since there is not one there, so, the error is showing that.

Re: Welcome to the Project Developers' Table

Posted: Mon Aug 23, 2010 8:51 pm
by Roberto Lopez
sudip wrote:Hello,

TextBox can now store different DataTypes. I tested it. It runs fine (except, the "/", "." characters can be deleted, and no restriction for datatype specific input :( ). I think it's better to post here first for your check before SVN Commit
Perhaps you could set an appropriate inputmask when datatype is set, if the user not specified one.

Re: Welcome to the Project Developers' Table

Posted: Mon Aug 23, 2010 9:17 pm
by Roberto Lopez
Hi,

You can download the complete qt package compatible with libraries bundled wih HMG.4 (QT 4.5.3) here:

http://get.qt.nokia.com/qt/source/qt-wi ... -mingw.exe

After installation you'll get support for gif and jpg.

and... please try to find what exactly makes the difference after installation.

TIA.

Re: Welcome to the Project Developers' Table

Posted: Mon Aug 23, 2010 10:01 pm
by Roberto Lopez
mol wrote:I've completed IMAGE class, too.
I only need to clean up code
Marek
My image class was only a little experiment, please upload yours.

Re: Welcome to the Project Developers' Table

Posted: Mon Aug 23, 2010 10:35 pm
by Roberto Lopez
HI TEAM!,

THE PROBLEM WITH IMAGES IS SOLVED!

I'll post required files and details soon.

Re: Welcome to the Project Developers' Table

Posted: Mon Aug 23, 2010 10:42 pm
by Roberto Lopez
Roberto Lopez wrote:HI TEAM!,

THE PROBLEM WITH IMAGES IS SOLVED!

I'll post required files and details soon.
Attached to this message are all required files to get support for a lot of graphic formats besides jpg and gif.

A BIG THANKS TO MARCOS GAMBETA that help me on this in the Harbour users forum.

Enjoy!