Font problem Server

Post Reply
Romeo
Posts: 328
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Font problem Server

Post by Romeo »

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 ?
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Font problem Server

Post by karinha »

Code: Select all

// 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
Romeo
Posts: 328
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Font problem Server

Post by Romeo »

FWH 16.02
Harbour 3.2.0dev (r1603082110)
BCC 7.20
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Font problem Server

Post by Enrico Maria Giordano »

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

EMG
Romeo
Posts: 328
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Font problem Server

Post by Romeo »

Ho cosi risolto:

MENU oPopup POPUP font oFont


In pratica ho inserito oFont e funziona bene su server !

(Mistero, Boh !)
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Font problem Server

Post by nageswaragunupudi »

Better you do not assign any font to the menu
Regards

G. N. Rao.
Hyderabad, India
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Font problem Server

Post by cnavarro »

Romeo wrote:FWH 16.02
Harbour 3.2.0dev (r1603082110)
BCC 7.20
What version of Server use, 2003?
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Post Reply