FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour say with a line
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
say with a line
Posted: Thu Oct 29, 2020 08:10 AM
How make this ?



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 March-April 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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: say with a line
Posted: Fri Oct 30, 2020 01:05 PM
Silvio,

A bottomline with any size and color using GDIPLUS

a say with a line on bottom




or with border (square or rounded)

Your question about a borderpainting ?
viewtopic.php?f=3&t=39530





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




best regards
Uwe :-)
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.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: say with a line
Posted: Fri Oct 30, 2020 05:46 PM
ukoenig wrote:Silvio,

A bottomline with any size and color using GDIPLUS

Uwe :-)


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 March-April 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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: say with a line
Posted: Sat Oct 31, 2020 02: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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: say with a line
Posted: 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)

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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

Continue the discussion