FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Font problem Server
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM

Font problem Server

Posted: Wed Feb 15, 2017 05: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 ?

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Font problem Server

Posted: Wed Feb 15, 2017 05:24 PM

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

EMG

Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM

Re: Font problem Server

Posted: Wed Feb 15, 2017 05:29 PM
Code (fw): Select all Collapse
// 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
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM

Re: Font problem Server

Posted: Thu Feb 16, 2017 09:17 AM

FWH 16.02
Harbour 3.2.0dev (r1603082110)
BCC 7.20

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Font problem Server

Posted: Thu Feb 16, 2017 10:03 AM

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

EMG

Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM

Re: Font problem Server

Posted: Thu Feb 16, 2017 04:46 PM

Ho cosi risolto:

MENU oPopup POPUP font oFont

In pratica ho inserito oFont e funziona bene su server !

(Mistero, Boh !)

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM

Re: Font problem Server

Posted: Thu Feb 16, 2017 08:36 PM

Better you do not assign any font to the menu

Regards



G. N. Rao.

Hyderabad, India
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: Font problem Server

Posted: Fri Feb 17, 2017 01: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

Continue the discussion