Page 1 of 1

say with a line

Posted: Thu Oct 29, 2020 8:10 am
by Silvio.Falconi
How make this ?

Image

a say with a line on bottom

I try with

@ 99, 115 SAY oSay[4] Prompt "Colore Bordo" SIZE 80,14 PIXEL OF oDlg TRANSPARENT INCLRLINE nRgb(238,236,219)

but make error

Re: say with a line

Posted: Fri Oct 30, 2020 1:05 pm
by ukoenig
Silvio,

A bottomline with any size and color using GDIPLUS
a say with a line on bottom
Image

or with border (square or rounded)

Your question about a borderpainting ?
http://forums.fivetechsupport.com/viewt ... =3&t=39530

Image

Image

or simply with a fontchange

DEFINE FONT oFont1 NAME "TAHOMA" SIZE 0,-14
DEFINE FONT oFont2 NAME "TAHOMA" SIZE 0,-14 UNDERLINE

@ 10,10 COMBOBOX oCbx VAR nVar Items aType Size 50,40 PIXEL of oDlg ;
on CHANGE ( IIF( nVar=1, ( nRow-=12, oSay[1]:SetFont (oFont1 )), ( nRow+=12, oSay[1]:SetFont (oFont2 ) )), ;
oSay[1]:Move( nRow ), oSay[1]:refresh() )

@ nRow,10 SAY oSay[1] Prompt "position"+str(nRow) Size 50,10 FONT oFont1 PIXEL of oDlg UPDATE TRANSPARENT


Image

best regards
Uwe :D

Re: say with a line

Posted: Fri Oct 30, 2020 5:46 pm
by Silvio.Falconi
ukoenig wrote:Silvio,

A bottomline with any size and color using GDIPLUS

Uwe :D
I cannot Use for each say gdiplus line

it must be a option of Say control as Tget INCLRLINE <nInClrBLine>

Re: say with a line

Posted: Sat Oct 31, 2020 2:08 pm
by nageswaragunupudi
@ 99, 115 SAY oSay[4] Prompt "Colore Bordo" SIZE 80,14 PIXEL OF oDlg TRANSPARENT INCLRLINE nRgb(238,236,219)

but make error
It makes an error because the clause INCRLINE is not included in the SAY command.
Please refer to fivewin.ch.

Re: say with a line

Posted: Sun Nov 01, 2020 10:30 am
by Silvio.Falconi
nageswaragunupudi wrote:
@ 99, 115 SAY oSay[4] Prompt "Colore Bordo" SIZE 80,14 PIXEL OF oDlg TRANSPARENT INCLRLINE nRgb(238,236,219)

but make error
It makes an error because the clause INCRLINE is not included in the SAY command.
Please refer to fivewin.ch.

yes, of course but in future we can have a same mode ? ( as this)

Image