FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Top-level menu in print-preview
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Top-level menu in print-preview
Posted: Sun Jun 25, 2017 07:58 AM
As you see the texts of the menu are not centered. (tested 2010 and 2013) and also the area right from the menu are in the background-color of the window. In the main window from the app is ok.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Top-level menu in print-preview
Posted: Sun Jun 25, 2017 10:17 AM
RPreview.prg, METHOD BuildMenu, try

Code (fw): Select all Collapse
   MENU oMenu MENUBAR
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Top-level menu in print-preview
Posted: Sun Jun 25, 2017 11:40 AM

Sorry, no effect!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Top-level menu in print-preview
Posted: Sun Jun 25, 2017 09:25 PM
Sorry, try
Code (fw): Select all Collapse
   MENU oMenu

      oMenu:l2007    := ( nStyle == 2007 )
      oMenu:l2010    := ( nStyle == 2010 )
      oMenu:l2013    := ( nStyle == 2013 )
      oMenu:l2015    := ( nStyle == 2015 )

      oMenu:lMenuBar   := .T.
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Top-level menu in print-preview
Posted: Mon Jun 26, 2017 06:41 AM

Thank you!!
oMenu:lMenuBar:= .T. is functioning. But why not automatically in Top-Level menu? In the main-window this is factual.

Regards,
Günther
---------------------------------
office@byte-one.com

Continue the discussion