say with a line

say with a line

Postby Silvio.Falconi » Thu Oct 29, 2020 8:10 am

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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7048
Joined: Thu Oct 18, 2012 7:17 pm

Re: say with a line

Postby ukoenig » Fri Oct 30, 2020 1:05 pm

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 ?
viewtopic.php?f=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
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: say with a line

Postby Silvio.Falconi » Fri Oct 30, 2020 5:46 pm

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>
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7048
Joined: Thu Oct 18, 2012 7:17 pm

Re: say with a line

Postby nageswaragunupudi » Sat Oct 31, 2020 2:08 pm

@ 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
nageswaragunupudi
 
Posts: 10622
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: say with a line

Postby Silvio.Falconi » Sun Nov 01, 2020 10:30 am

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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7048
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 27 guests