FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Metro-style with animated buttonbars => DOWNLOAD Rel. 1.2
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Metro-style with animated buttonbars => DOWNLOAD Rel. 1.2
Posted: Thu May 09, 2013 03:53 PM
Richard,
with the included painter, I can create / define any panel-background.
Let's see, if I can add some more extensions.

Fixed a little bug, saving / restoring a style from the dbf :

http://www.service-fivewin.de/fw-downlo ... robar3.zip





Best Regards
Uwe :-)
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.
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Metro-style with animated buttonbars => DOWNLOAD Rel. 1.2
Posted: Sat May 11, 2013 06:18 PM

Uwe,

As usual you are the master of creating design programs! My respects.

I have looked at your Metro design app and I am impressed. It has a lot of great features and will save a lot of hand coding.

I do have a few comments and suggestions that you may find of interest.

Animat.prg line 58 has a bug (it looks like it was truncated):

oMetro1:bRClicked := { |Row,Col,f,o| IIF( lSubBar = .F., MAIN_MOVE() , ;

I found this because my automatic indenting program choked on this line. One suggestion is that it would be easier to read if your code was indented. I don't seem to have your email address, but if you will provide it I will send you a copy of your animat.prg indented by my program.

Fonts

There are some very specific guidelines for Windows 8 fonts:

Microsoft Guidelines for Windows 8 Fonts

http://msdn.microsoft.com/en-us/library ... s/hh700394

Note that these font specs are for Windows 8 apps in general, not specifically for tiles.

In your app there is no way to set the font type. According to the Windows 8 specs you must use the Segoe UI font, but since that doesn't exist on all versions of Windows, the next best is Arial as you are using. However, your app uses a bold font and bold should not be used on tiles. In fact the spec calls for Segoe UI Light. There is no Arial Light font but the weight might be changable via the DEFINE FONT...WEIGHT command in FW--I haven't tried this yet.

All the examples on Microsoft's site show all tiles with the same color font (white), unless it is text in an image. If you do a Google image search for "windows 8 metro" you will see all the screens use white type.

I haven't yet found specs for the font sizes used in tiles.

So, I would suggest that your global font style, weight and color be Arial, normal weight, white and that it is the default for all tiles. You could still provide your tile properties dialog that would override the global default although it is not clear if this would violate the design guidelines.

Tile Colors
Generally one should use a palette of a select few tile colors in any app. Looking at an example screenshot on Microsoft's site I see tiles with 8 different background colors. So, it would be nice to have a custom palette of say 12 colors that one can select for any application, then each tile's color can be selected from that palette. This would be WAY easier than selecting the colors from the standard color selection dialog.

Of course, you would still have to provide the standard color palette selection dialog for use in building a custom app palette. Each custom palette would have to be saved in a file for reuse for that app design.

Layout

There are some very specific guidelines for laying out a Windows 8 app page. These are not specifically for tiles but I think they are similar. Certainly the margins and spacing of elements could be applicable.

Laying Out An App Page

http://msdn.microsoft.com/en-us/library ... s/hh872191

Toolbar
There are some very strange things going on with the new toolbar on the right side. First only one button appears, then a few more, then the bar itself. Are you seeing this too? I am running XP Pro if that is relevant.

Mouseover
When the mouse cursor is over a tile it should be changing to indicate that the tile is clickable.

Scrolling With Mouse-wheel Problems

If the mouse pointer is within about 3 inches of the left side of the screen then mouse-wheel scrolling doesn't work--it just skips back and forth about an inch but there is no scrolling.

Also, when scrolling to the right, the left-most panel will scroll over about 2 inches from the left side of the screen. It should stop at the left side of the screen.

OK, well that should be enough to keep you busy for awhile! ;-)

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Metro-style with animated buttonbars => DOWNLOAD Rel. 1.2
Posted: Sat May 11, 2013 08:33 PM

James,

Thank You very much for Your response.
I will check in detail, what is still possible,to add more extensions.

There are still 3 more projects I'm still working on :

  1. the Hotspot-editor ( is finished )
  2. mutliple gradient-design and display inside a dialog
  3. a two image-display and printing from command-line
  4. or the included painter ( interesting project )

Your post, I saved inside the project-directory to check step by step.
The effect of the bar-movement could be because of a Inkey-usage.
I will try with a timer.

Thank You
Best Regards
Uwe :lol:

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.
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Metro-style with animated buttonbars => DOWNLOAD Rel. 1.2
Posted: Mon May 13, 2013 02:25 PM

Uwe,

I have since found that most of the bugs I discovered (and mentioned in my previous message) are in the metopanel class--not in your designer program. I have thus started a new thread titled "Metropanel Bugs."

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Metro-style with animated buttonbars => DOWNLOAD Rel. 1.2
Posted: Sun Sep 12, 2021 03:14 PM

Master, download expired.

Please could post again, I need to see the examples if it fits in my new project.

Thanks.

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Metro-style with animated buttonbars => DOWNLOAD Rel. 1.2
Posted: Mon Sep 13, 2021 06:05 PM

Uwe's samples are on this domain...

https://www.service-fivewin.de/fw-downl ... robar3.zip

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Metro-style with animated buttonbars => DOWNLOAD Rel. 1.2
Posted: Mon Sep 13, 2021 09:38 PM
Marc Venken wrote:Uwe's samples are on this domain...

https://www.service-fivewin.de/fw-downl ... robar3.zip


Marc, thank you very much. This example is wonderful.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341

Continue the discussion