say with a line

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

say with a line

Post 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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: say with a line

Post 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
Last edited by ukoenig on Sat Oct 31, 2020 4:09 pm, edited 6 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: say with a line

Post 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>
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: say with a line

Post 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.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: say with a line

Post 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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply