Page 1 of 1

Creating Userdefined Metro-styles ( Download )

Posted: Wed May 16, 2012 10:48 pm
by ukoenig
Hello,

I finished the Part of the Metro-toolkit, to make it possible,
to create a complete Metro-panel from a DBF-file-record.
A user can change the given Design to his own Taste.
There will be a second ( Mini ) -version ( delivered to the Customer ),
because we don't want that the User can add / delete a Button
only changing the given Design.
The original design is defined inside the 1. record ( can be protected )
Record 2- 9 are User defined ( copys of record 1 ).
The wanted Template to be loaded, is defined inside a Ini-file.
A missing Template-dbf will use the definded Metro-original inside Your Application ( there is no risk ).
There are 10 possible Designs with 30 Buttons each( far enaugh )
Edit-modes : the complete Panel or a selected single Button.

The user can change :

1. Fonts ( Title, Caption and Bodytext )
2. Colors
3. Images ( Buttons )
4. Text ( Title, caption and body )
5. Background ( Buttons )
6. Large / small
7. Button-size
8. Background of the Mainwindow


Because there is a lot to explain, I will add the needed Informations this Weekend.

Image

The User-selection

Image

Your Original

Image

Repainted from User

Image

Best Regards
Uwe :lol:

Re: User defined Metro-styles ( Download )

Posted: Fri May 18, 2012 2:48 pm
by ukoenig
I finished the Customer-part.
Now You can switch between Your defined Style inside Your Appl. and
User defined Styles loaded from a DBF.
Everything is included, to add this Solution inside Your own Application.
Images, recompile ....
I would like to make the DBF-loading part smaller, any changes / optimizations are welcome.
To create / change the User-Templates, You will need the coming Main-tool-update.

The next Step to complete it, will show a extended Version : working with the Editor and shows the needed changes of a included copy of < TMetropnl.prg >
You need TMetropnl.prg !!!. Only the Changes will be shown.

Download ( 8.2 MB )
http://www.pflegeplus.com/fw_downloads/usermtr.zip

Image

Styles changed from User :

Image

The coming extended Editor-version ( will be the version, that can be delivered to Your Customer ) :
Complete Source included ( without TMetropnl.prg )

Image

Best Regards
Uwe :lol:

Re: Creating Userdefined Metro-styles ( Download )

Posted: Fri May 18, 2012 6:09 pm
by j.fmagalhaes
Very nice work, but where is the metropnl.ch
J.fmagalhaes

Re: Creating Userdefined Metro-styles ( Download )

Posted: Fri May 18, 2012 6:27 pm
by ukoenig
It is up the FWH-release, if MetroPanel is included / supported.

Released => October 2011
============
* New: New class TMetroPanel.Prg
Extended functionality, multiple metro panels, with inbuilt design and code generation facilities.
Please see samples\metrptst.prg for usage and functionality

Best Regards
Uwe :lol:

Re: Creating Userdefined Metro-styles ( Download )

Posted: Sun May 20, 2012 12:50 pm
by j.fmagalhaes
Sorry. My version is FWH12.04. Thank you
jose magalhaes

Re: Creating Userdefined Metro-styles ( Download )

Posted: Fri Jan 25, 2013 8:45 am
by Otto
Hello Uwe,
I am looking at your UserMtr.
Thank you for your designer.
I noticed that the buttons in WINDOWS 8 become a little smaller on “ON CLICK”.
Do you think this is possible in Fivewin too.
Best regards,
Otto

Re: Creating Userdefined Metro-styles ( Download )

Posted: Fri Jan 25, 2013 12:43 pm
by ukoenig
Hello Otto,

I'm planning some more work on this tool.
If it is possible to get a animated ( resized ) - effect on
button-click, I still have to find out.
Best Regards
Uwe :roll:

Re: Creating Userdefined Metro-styles ( Download )

Posted: Mon Jan 28, 2013 10:32 am
by Otto
Hello Uwe,
do you think this behavior must be changed in btnbmp.prg.
Best regards,

Otto

Re: Creating Userdefined Metro-styles ( Download )

Posted: Mon Jan 28, 2013 10:55 am
by nageswaragunupudi
Otto wrote:Hello Uwe,
do you think this behavior must be changed in btnbmp.prg.
Best regards,

Otto

This feature was introduced in fwh btnbmp.prg and later taken out.
Since we use flatbtns for windows 8 look, we may introduce this for flatbtns?

Re: Creating Userdefined Metro-styles ( Download )

Posted: Mon Jan 28, 2013 11:09 am
by Otto
Dear Mr. Rao,
can you tell me when this changed.
The latest code I have from petropnl.prg shows that it inherits from TBtnBmp.
In original WINDOWS 8 if you click on a tile ( button ) the tile becomes a little bit smaller.

Best regards,
Otto



CLASS TMetroBtn FROM TBtnBmp

Re: Creating Userdefined Metro-styles ( Download )

Posted: Mon Jan 28, 2013 5:37 pm
by nageswaragunupudi
Mr Otto

We shall provide this feature soon in FWH for metropanel