MyRpt - Reporting dessigner - Work in progress :-)

User avatar
Carles
Posts: 1149
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Been thanked: 7 times
Contact:

MyRpt - Reporting dessigner - Work in progress :-)

Post by Carles »

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
Kleyber
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

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

Post by Kleyber »

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

FWH / xHb / xDevStudio / SQLLIB
User avatar
Carles
Posts: 1149
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Been thanked: 7 times
Contact:

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

Post by Carles »

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
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

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

Post by StefanHaupt »

Carles,

really great job.

I noticed, the lib is compiled with harbour, please, can you compile a version for xharbour, too ?
kind regards
Stefan
User avatar
Carles
Posts: 1149
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Been thanked: 7 times
Contact:

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

Post by Carles »

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
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

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

Post by StefanHaupt »

Ok, thanks
kind regards
Stefan
norberto
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

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

Post by norberto »

i use xharbour too. :cry:
User avatar
Carles
Posts: 1149
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Been thanked: 7 times
Contact:

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

Post by Carles »

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
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

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

Post by StefanHaupt »

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
User avatar
Carles
Posts: 1149
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Been thanked: 7 times
Contact:

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

Post by Carles »

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

...
               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: 1149
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Been thanked: 7 times
Contact:

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

Post by Carles »

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
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

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

Post by Enrico Maria Giordano »

+ New Method SetPropierty().


Did you mean SetProperty()?

EMG
User avatar
Carles
Posts: 1149
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Been thanked: 7 times
Contact:

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

Post by Carles »

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
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

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

Post by StefanHaupt »

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
User avatar
Carles
Posts: 1149
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Been thanked: 7 times
Contact:

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

Post by Carles »

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
Post Reply