FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour MyRpt - Reporting dessigner - Work in progress :-)
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
MyRpt - Reporting dessigner - Work in progress :-)
Posted: Thu Jun 09, 2011 05:33 PM
Hi friends,

I want introduce u MyRpt.lib. The library for the reports design




At the moment, this project is beta, but i’m thinking that we can try it. My basic idea, is with a little effort, we can design reportings with results liket it



This library wan’t to compete with comnercial apps, but if i want to try integrate it into our own fwh apps :-). At the moment , i’ve this doc that i describe my idea, but of course it’s in spaniush, but i will try to translate to english this weekend.

http://www.box.net/shared/ibg1k5mrp3

And demo, of course... :-)

[ EDITED - New link ]
http://www.box.net/shared/1e1l6mzt9jn5qvrb4voz


This library was compiled with last version fwh

At now, i can say to you that maybe we can be beta-testers. La library should and has to madurate, of course, but now start with this beta, and it’s ready to see, discuss, and evolve, with alltogether.
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 581
Joined: Tue Oct 11, 2005 11:28 AM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Fri Jun 10, 2011 02:33 PM

Fantastic job, Carles. You can appoint me as a beta-tester.

Kleyber Derick



FWH / xHb / xDevStudio / SQLLIB
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Mon Jun 13, 2011 06:56 AM
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Tue Jun 14, 2011 07:43 AM

Carles,

really great job.

I noticed, the lib is compiled with harbour, please, can you compile a version for xharbour, too ?

kind regards

Stefan
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Tue Jun 14, 2011 03:45 PM

Stephan,

I'm working to stabilizy a first prototype. Constantly the lib have a lot of changes. My idea is to pass to xH when we have a fisrt version stable.

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Wed Jun 15, 2011 07:15 AM

Ok, thanks

kind regards

Stefan
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Wed Jun 15, 2011 02:35 PM

i use xharbour too. :cry:

Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Wed Jun 15, 2011 03:14 PM
Hi,

New version v0.355 - Dinamic image in section [EDITED]

https://code.google.com/p/fivewin-contr ... akechanges

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Fri Jun 17, 2011 07:43 AM

Hi Carles,

I played a little with the designer and I noticed some small problems.
If you place or move an item with the help of the properties (top,left,...) and you enter a value, this value is changed after pressing return. (e.g. I insert 14 for the top, press return and the value changes to 14.10).
I can´t enter floting point values in these fields. If press the point on the keyboard, the value entered before is overwritten.

I also have 2 suggestions, maybe you can realize them
an Undo-Button could be helpful in somes cases
a ruler placed on the left and at the top of the visual designer could support placing the items.

Keep up the good work :)

kind regards

Stefan
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Fri Jun 17, 2011 03:34 PM
Stephan,

Thanks for your feedback.
If you place or move an item with the help of the properties (top,left,...) and you enter a value, this value is changed after pressing return. (e.g. I insert 14 for the top, press return and the value changes to 14.10).


I know, when i've a few moment, i will try to solve it. :-)

Undo-Button could be helpful in somes cases


Can you try Menu->Edit->Undo ? (beta, of course)

a ruler placed on the left and at the top of the visual designer could support placing the items


Yes, is a one more option to devoloped. Be patient my friend

New version v0.356 - New method SetPropierty()

http://code.google.com/p/fivewin-contri ... akechanges

v.0356
------
+ New Method SetPropierty(). Now, you can change propierty on the fly.
See ListImg2.prg


You can see position 999, we can change font propierty of item with SetPropierty()



The code

Code (fw): Select all Collapse
...
               MAT_USER->( DbSeek( MATERIAL->id ) )
    WHILE MAT_USER->id_mat == MATERIAL->id  .AND. MAT_USER->( !Eof() )


        IF CLIENT->( DbSeek( MAT_USER->id_user ) )

          oUser:Data( 'usr_img'   , 'user.jpg' )
          oUser:Data( 'usr_id'    , MAT_USER->id_user )
          oUser:Data( 'usr_name'  , CLIENT->name )
          oUser:Data( 'usr_fecha' , MAT_USER->fecha   )

         ELSE

          oUser:SetPropierty( 'usr_name' , 'Color'    , CLR_RED )
          oUser:SetPropierty( 'usr_name' , 'Bold'     , .T.     )
          oUser:SetPropierty( 'usr_name' , 'Italic'   , .T.     )
          oUser:SetPropierty( 'usr_name' , 'Underline', .T.     )

          oUser:Data( 'usr_img'   , 'question.jpg' )
          oUser:Data( 'usr_id'    , MAT_USER->id_user )
          oUser:Data( 'usr_name'  , '< User desconocido ??? >' )

        ENDIF


        MAT_USER->( DbSkip() )

        oUser:Skip()

    END
...


And it's all. I'm thinking that it can be powerfull for our reporting. :-)
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Sun Jun 26, 2011 07:51 PM
Hello,

New version v0.401

http://code.google.com/p/fivewin-contri ... akechanges

v.0400
------
+ Great implementation. We changed the property inspector. Now it's with a class modified of our friend Paco Garcia and adapted for MyRpt
+ When you put one item, isn't respect the grid. Now it's Ok
+ Modified TControl. When you dragging one item, the event ::bPostDrag allways jump. Now it's ok

v.0401
------
+ File *.rc is already to change to different languages


New property inspector. Thanks to Paco for this great contribution

Now, all strings are into *.rc file. If someone want to help me to translate to any language, send me to email...

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Sun Jun 26, 2011 09:42 PM
+ New Method SetPropierty().


Did you mean SetProperty()?

EMG
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Mon Jun 27, 2011 05:15 AM

Enrico,

:D

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Mon Jun 27, 2011 09:41 AM
Carles,

Now, all strings are into *.rc file. If someone want to help me to translate to any language, send me to email...


I can translate into german
kind regards

Stefan
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: MyRpt - Reporting dessigner - Work in progress :-)
Posted: Mon Jun 27, 2011 10:34 AM

Stephan,

Can you say to me your email, please :D -> Thanks

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix