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 ?
Font problem Server
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Font problem Server
What FWH version? I remember something similar some versions ago.
EMG
EMG
Re: Font problem Server
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
Re: Font problem Server
FWH 16.02
Harbour 3.2.0dev (r1603082110)
BCC 7.20
Harbour 3.2.0dev (r1603082110)
BCC 7.20
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Font problem Server
As I suspected. Did you plan of updgrading FWH? Probably that would solve the problem.
EMG
EMG
Re: Font problem Server
Ho cosi risolto:
MENU oPopup POPUP font oFont
In pratica ho inserito oFont e funziona bene su server !
(Mistero, Boh !)
MENU oPopup POPUP font oFont
In pratica ho inserito oFont e funziona bene su server !
(Mistero, Boh !)
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Font problem Server
Better you do not assign any font to the menu
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Font problem Server
What version of Server use, 2003?Romeo wrote:FWH 16.02
Harbour 3.2.0dev (r1603082110)
BCC 7.20
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.
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.