Font problem Server

Font problem Server

Postby Romeo » Wed Feb 15, 2017 5:08 pm

Hi

Some times, specially on SERVER, happens that a simple popupmenu show with bad font.

With Windows7 and Windows 10, no problem !!

I cannot post the image, because... i dont' remenber haow to do !!! ;-)



The simple progoram is:
***************************************
function togn_onof(odlg)
local oPopup
MENU oPopup POPUP
MENUITEM "&Disattiva Modifica Campo" action ..
MENUITEM "&Blocca Colonne a Sx <1>" action ..
MENUITEM "&Evidenzia Singola Cella ?" action ..
SEPARATOR
MENUITEM "&Torna a Impostazioni iniziali" action ..
SEPARATOR
MENUITEM "&Uscita" action ..
ENDMENU
ACTIVATE POPUP oPopup AT nnn,mmm OF odlg
return nil
***************************

Any help ?
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Font problem Server

Postby Enrico Maria Giordano » Wed Feb 15, 2017 5:24 pm

What FWH version? I remember something similar some versions ago.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8378
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Font problem Server

Postby karinha » Wed Feb 15, 2017 5:29 pm

Code: Select all  Expand view

// Sample showing how to control right click events

#include "FiveWin.ch"

static oDlg

//----------------------------------------------------------------------------//

function Main()

   DEFINE DIALOG oDlg ;
      FROM 2, 2 TO 20, 50 ;
      TITLE "Testing Right Click"

   oDlg:bRClicked = { | nRow, nCol, nFlags | ShowPopup( nRow, nCol ) }

   ACTIVATE DIALOG oDlg CENTERED

return nil

//----------------------------------------------------------------------------//

function ShowPopup( nRow, nCol )

//function togn_onof(odlg)

   // local oPopup
   LOCAL oMenu

   MENU oMenu POPUP

      MENUITEM "&Disattiva Modifica Campo" //action ..
      MENUITEM "&Blocca Colonne a Sx <1>" //action ..
      MENUITEM "&Evidenzia Singola Cella ?" //action ..

      SEPARATOR
      MENUITEM "&Torna a Impostazioni iniziali" //action ..

      SEPARATOR
      MENUITEM "&Uscita" //action ..

      SEPARATOR
      MENUITEM "Row: " + Str( nRow ) ACTION MsgInfo( "Hello" )
      MENUITEM "Col: " + Str( nCol ) ACTION MsgBeep()

   ENDMENU

   ACTIVATE POPUP oMenu OF oDlg AT nRow, nCol

return nil
 


João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7352
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Font problem Server

Postby Romeo » Thu Feb 16, 2017 9:17 am

FWH 16.02
Harbour 3.2.0dev (r1603082110)
BCC 7.20
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Font problem Server

Postby Enrico Maria Giordano » Thu Feb 16, 2017 10:03 am

As I suspected. Did you plan of updgrading FWH? Probably that would solve the problem.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8378
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Font problem Server

Postby Romeo » Thu Feb 16, 2017 4:46 pm

Ho cosi risolto:

MENU oPopup POPUP font oFont


In pratica ho inserito oFont e funziona bene su server !

(Mistero, Boh !)
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Font problem Server

Postby nageswaragunupudi » Thu Feb 16, 2017 8:36 pm

Better you do not assign any font to the menu
Regards

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

Re: Font problem Server

Postby cnavarro » Fri Feb 17, 2017 1:35 am

Romeo wrote:FWH 16.02
Harbour 3.2.0dev (r1603082110)
BCC 7.20


What version of Server use, 2003?
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
User avatar
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 46 guests