To All
Is there a way to clean up the message text of the Alert function .. As you can see the text of the message is very light and difficult to read.
Any way to make the text more viewable ?
Thanks
Rick Lipkin
function MetroMsgInfo( cTitel, cAnzeige1 )
//MetroMsgInfo( "Infobox",
local lVar := .f.
local oDlg, oBTNNaviWeiter, obtnAbbruch
local nWidth := GetSysMetrics( 0 )
local nLine := 0
local nRowSpace := 20
local nRowOffset := 20
*----------------------------------------------------------
nLine := 16
DEFINE DIALOG oDlg ;
TITLE "Auswahl" ;
FROM 0, 5 ;
TO nRowSpace * nLine, nWidth + 6 ;
PIXEL ;
STYLE nOr( DS_MODALFRAME, WS_POPUP ) ;
COLOR CLR_WHITE, SetUp():nRibbonTopClr ;
FONT Setup():oFntDialog
oDlg:SetFont( Setup():oFntMetroNormal2 )
nLine := 0.5
@ nRowOffset * nLine , nWidth/5/2.05 ;
SAY cTitel ;
OF oDlg ;
PIXEL ;
FONT Setup():oFntMetroMedium ;
COLOR CLR_WHITE, SetUp():nRibbonTopClr
nLine := 1
@ nRowOffset + nRowSpace * nLine , nWidth/5/2.05 ;
SAY cAnzeige1 ;
OF oDlg ;
PIXEL ;
FONT Setup():oLbxFont ;
COLOR CLR_WHITE, SetUp():nRibbonTopClr
*----------------------------------------------------------
nLine := 4
@ nRowOffset + nRowSpace * nLine,nWidth/5/2.05 ;
FLATBTN oBTNNaviWeiter ;
PROMPT "OK" ;
FONT Setup():oFntMetroFLATBTN ;
SIZE 76/2.05, ( FONT4HOEHE + 4 ) /2.05 ;
OF oDlg ;
ACTION ( lVar := .t., oDlg:End() ) ;
COLOR CLR_GREEN, RGB( 210, 210, 210 )
ACTIVATE DIALOG oDlg CENTERED
RETURN NIL
//----------------------------------------------------------------------------//
DO CASE
CASE lHScroll .and. lVScroll
@ 25, 70 GET oGet VAR cSay OF oDlg READONLY MEMO;
SIZE nWidth, nHeight PIXEL FONT oFont ;
COLOR NIL, GetSysColor( COLOR_BTNFACE ) ;
NOBORDER HSCROLL WHEN .f.
CASE lHScroll .and. !lVScroll
@ 25, 70 GET oGet VAR cSay OF oDlg READONLY MEMO;
SIZE nWidth, nHeight PIXEL FONT oFont ;
COLOR NIL, GetSysColor( COLOR_BTNFACE ) ;
NOBORDER HSCROLL NO VSCROLL WHEN .f.
CASE !lHScroll .and. lVScroll
@ 25, 70 GET oGet VAR cSay OF oDlg READONLY MEMO;
SIZE nWidth, nHeight PIXEL FONT oFont ;
COLOR NIL, GetSysColor( COLOR_BTNFACE ) ;
NOBORDER WHEN .f.
OTHERWISE
* @ 25, 70 GET oGet VAR cSay OF oDlg READONLY MEMO;
* SIZE nWidth, nHeight PIXEL FONT oFont ;
* COLOR NIL, GetSysColor( COLOR_BTNFACE ) ;
* NOBORDER NO VSCROLL WHEN .f.
// made changes here Rick Lipkin
@ 25, 70 SAY oGet VAR cSay OF oDlg ;
SIZE nWidth, nHeight PIXEL FONT oFont TRANSPARENT UPDATE
END CASE
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 68 guests