Creating Userdefined Metro-styles ( Download )

Creating Userdefined Metro-styles ( Download )

Postby ukoenig » Wed May 16, 2012 10:48 pm

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:
Last edited by ukoenig on Fri May 18, 2012 4:07 pm, edited 2 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: User defined Metro-styles ( Download )

Postby ukoenig » Fri May 18, 2012 2:48 pm

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:
Last edited by ukoenig on Sat May 19, 2012 10:11 am, edited 6 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Creating Userdefined Metro-styles ( Download )

Postby j.fmagalhaes » Fri May 18, 2012 6:09 pm

Very nice work, but where is the metropnl.ch
J.fmagalhaes
j.fmagalhaes
 
Posts: 14
Joined: Thu Nov 11, 2010 3:02 pm

Re: Creating Userdefined Metro-styles ( Download )

Postby ukoenig » Fri May 18, 2012 6:27 pm

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:
Last edited by ukoenig on Sun May 20, 2012 12:57 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Creating Userdefined Metro-styles ( Download )

Postby j.fmagalhaes » Sun May 20, 2012 12:50 pm

Sorry. My version is FWH12.04. Thank you
jose magalhaes
j.fmagalhaes
 
Posts: 14
Joined: Thu Nov 11, 2010 3:02 pm

Re: Creating Userdefined Metro-styles ( Download )

Postby Otto » Fri Jan 25, 2013 8:45 am

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6033
Joined: Fri Oct 07, 2005 7:07 pm

Re: Creating Userdefined Metro-styles ( Download )

Postby ukoenig » Fri Jan 25, 2013 12:43 pm

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:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Creating Userdefined Metro-styles ( Download )

Postby Otto » Mon Jan 28, 2013 10:32 am

Hello Uwe,
do you think this behavior must be changed in btnbmp.prg.
Best regards,

Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6033
Joined: Fri Oct 07, 2005 7:07 pm

Re: Creating Userdefined Metro-styles ( Download )

Postby nageswaragunupudi » Mon Jan 28, 2013 10:55 am

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?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10263
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Creating Userdefined Metro-styles ( Download )

Postby Otto » Mon Jan 28, 2013 11:09 am

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6033
Joined: Fri Oct 07, 2005 7:07 pm

Re: Creating Userdefined Metro-styles ( Download )

Postby nageswaragunupudi » Mon Jan 28, 2013 5:37 pm

Mr Otto

We shall provide this feature soon in FWH for metropanel
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10263
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: INFORMAISVRB, Silvio.Falconi and 11 guests