MyRpt - Reporting dessigner - Work in progress :-)

MyRpt - Reporting dessigner - Work in progress :-)

Postby Carles » Thu Jun 09, 2011 5:33 pm

Hi friends,

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

Image


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

Image

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... :lol:

[ 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
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby Kleyber » Fri Jun 10, 2011 2:33 pm

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

FWH / xHb / xDevStudio / SQLLIB
User avatar
Kleyber
 
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby Carles » Mon Jun 13, 2011 6: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
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby StefanHaupt » Tue Jun 14, 2011 7: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
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby Carles » Tue Jun 14, 2011 3: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
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby StefanHaupt » Wed Jun 15, 2011 7:15 am

Ok, thanks
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby norberto » Wed Jun 15, 2011 2:35 pm

i use xharbour too. :cry:
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby Carles » Wed Jun 15, 2011 3:14 pm

Hi,

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

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

Image
Salutacions, saludos, regards

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

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby StefanHaupt » Fri Jun 17, 2011 7: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
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby Carles » Fri Jun 17, 2011 3: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. :D

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()

Image

The code

Code: Select all  Expand view
...
               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. :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
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby Carles » Sun Jun 26, 2011 7: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...

Image
Salutacions, saludos, regards

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

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby Enrico Maria Giordano » Sun Jun 26, 2011 9:42 pm

+ New Method SetPropierty().


Did you mean SetProperty()?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8712
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby Carles » Mon Jun 27, 2011 5: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
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby StefanHaupt » Mon Jun 27, 2011 9: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
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: MyRpt - Reporting dessigner - Work in progress :-)

Postby Carles » 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
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1134
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 59 guests