Search found 141 matches: saytext

Return to advanced search

Re: Create a Panel width a text

hi Silvio, As i told you i prefer use Say and not get i have use GET while i had Problem with FW_SayText() and (extra) PANEL :!: GET use MEMO READONLY NO SCROLL but you can use SAY or RTF too --- when Edit Item and copy / paste those 2 Lines, save 4 x Lines, it still display 2 Lines but using WORDW...
by Silvio.Falconi
Mon Feb 26, 2024 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 2893

Re: Create a Panel width a text

hi Silvio, As i told you i prefer use Say and not get i have use GET while i had Problem with FW_SayText() and (extra) PANEL :!: GET use MEMO READONLY NO SCROLL but you can use SAY or RTF too --- when Edit Item and copy / paste those 2 Lines, save 4 x Lines, it still display 2 Lines but using WORDWR...
by Jimmy
Sat Feb 24, 2024 3:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 2893

Re: Create a Panel width a text

hi Silvio, your last Sample still show the Problem using       oPanelText:bPainted = { | hDC | ;          FW_SayText( hDC, ;              alltrim( ( cMessage) ), ;              { 1 , 50,  nTextHeight, 300 },, oFonttext, RGB(255,165,0), nARGB(255,rgb...
by Silvio.Falconi
Sat Feb 24, 2024 11:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 2893

Re: Create a Panel width a text

hi Silvio, your last Sample still show the Problem using       oPanelText:bPainted = { | hDC | ;          FW_SayText( hDC, ;              alltrim( ( cMessage) ), ;              { 1 , 50,  nTextHeight, 300 },, oFonttext, RGB(255,165,0), nARGB(255,rgb(...
by Jimmy
Sat Feb 24, 2024 5:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 2893

Re: Create a Panel width a text

function CalcTextHeight( hDC, cText, oFont, nWidth )   local oWnd, nHt   DEFAULT hDC := GetDC( 0 )   if HB_ISOBJECT( hDC )      oWnd     := hDC      hDC      := oWnd:GetDC()      DEFAULT oFont := oWnd:oFont, nWidth := oWnd:nWidth   else      DEFAULT nWidth := 800   e...
by Silvio.Falconi
Fri Feb 23, 2024 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 2893

Re: Mark field as required

You can do this:
@ 0,0 SAY "Test *" of oDlg//Monospaced font
@ 0, 6 GET of oDlg
oDlg:aControls[1]:SayText() //color the "*" symbol red

it works well, but it may need to be updated :SayText when moving the window off/on the screen
by Natter
Sun Feb 04, 2024 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mark field as required
Replies: 23
Views: 1584

Re: Using FW_SayText in WebView

Lo probaré, gracias Antonio

Alvaro
by alvaro533
Fri Dec 29, 2023 7:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using FW_SayText in WebView
Replies: 2
Views: 286

Re: Using FW_SayText in WebView

Estimado Alvaro, Un control WebView está totalmente controlado por el motor de Chrome y por seguridad en internet no es accesible. Lo que si podrias intentar es usar el método InjectJavascript( cScript ) de la Clase TWebView para añadir código javascript tuyo y luego ejecutarlo llamando al método Ev...
by Antonio Linares
Fri Dec 29, 2023 10:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using FW_SayText in WebView
Replies: 2
Views: 286

Using FW_SayText in WebView

Good morning, I'm using webview in a MDICHILD function googlemaps(app_oWnd)    local oWnd    local oWebView         DEFINE WINDOW oWnd MDICHILD of app_oWnd TITLE "Using a webview from an existing window"     oWnd:Center()    oWebView = TWebView():New(, oWnd:hWnd...
by alvaro533
Fri Dec 29, 2023 9:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using FW_SayText in WebView
Replies: 2
Views: 286

Re: PDF EN RPREVIEW

https://forums.fivetechsupport.com/viewtopic.php?f=3&t=37046&hilit=SAYTEXT&start=45

These posting were more than a decade old.
We have come a long long way after that.
Please provide latest information
by nageswaragunupudi
Sat Aug 12, 2023 8:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PDF EN RPREVIEW
Replies: 12
Views: 892

Re: numeric get

Dear Detlef,

Please modify this line in tget.prg this way:

FW_SayText( ::hDC, If( Empty( Eval( ::bSetGet ) ), "", Transform( Eval( ::bSetGet ), ::cPicture ) ), aRect, "R", ::oFont, ::nClrText )

now it works as you need :-)
by Antonio Linares
Thu Jul 20, 2023 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: numeric get
Replies: 8
Views: 313

Re: SAY dentro de BUTTOMBAR??

I see.
12.06 is a very old version and does not have the method SayText

Please try this
Code: Select all  Expand view
oBar:bPainted := { || oBar:Say( 20,oBar:nWidth - 10, "Your say", ;
    nil,nil,nil,.t..t.,2 ) }
by nageswaragunupudi
Sat Jun 03, 2023 10:15 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SAY dentro de BUTTOMBAR??
Replies: 4
Views: 205

Re: SAY dentro de BUTTOMBAR??

Mr. RAO. Gracias por su tiempo. Su sugerencia me da error: "Error BASE/1004 Message not found: TBAR:SAYTEXT Args: [ 1] = O TBAR" asi es como lo estoy usando, queriendo mostrar un texto al final de los botones. uso FW v.12.06 y Harbour 3.10 function btnBarNew( oBrw, ...
by José Camilo
Sat Jun 03, 2023 6:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SAY dentro de BUTTOMBAR??
Replies: 4
Views: 205

Re: Numeric alignment with oPrn:SayText( )

Dear Tim,

> Also do we have a color selection popup that we can use for the values ?

ChooseColor( [ nInitialRGBColor ] ) --> nRGBColor
by Antonio Linares
Fri May 19, 2023 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric alignment with oPrn:SayText( )
Replies: 8
Views: 514
Next

Return to advanced search