Search found 990 matches: eval

Return to advanced search

GetImage on fiveh.lib

... the error that came out is unfortunately caused by an error in the lib fiveh.lib because when the getImage() function is called it creates an EVAL error because this function was mistakenly inserted in the easyreport files and was not assigned static, the function It is located in eritems.prg ...
by Silvio.Falconi
Thu May 09, 2024 9:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetImage on fiveh.lib
Replies: 0
Views: 27

Re: Probando TGSAY.prg y su potencia.

cValue := EVAL( bText ) // que esta errado aqui? Line 253. METHOD Redefine( nId, oWnd, bText, cPict, oFont, oCursor, bLClicked       , ;         cHAlign, cVAlign, nClrText, nClrPane, ...
by karinha
Tue May 07, 2024 7:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Probando TGSAY.prg y su potencia.
Replies: 15
Views: 220

Re: Consulta TWebView2 - pase de informacion

Estimado Enrique,

> pasar informacion de FWH a HTML

Usa oWebView:Eval( cJavaScriptCode ) desde FWH
by Antonio Linares
Sat Mar 30, 2024 10:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta TWebView2 - pase de informacion
Replies: 4
Views: 923

Problemas con comportamiento de XBrowse.

... iif(!empty(Neteo->FechaPago),CLR_GREEN,CLR_RED),CLR_WHITE } } // color del focus oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)} oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|EditNeteo(.f.),oBrw:SetFocus(),oBrw:Refresh(.t.)} oBrw:CreateFromCode() cGrad ...
by José Camilo
Fri Mar 15, 2024 2:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con comportamiento de XBrowse.
Replies: 1
Views: 404

Re: FWH 24.02 new Class TWebView2

... los autores de webview.dll hicieron ciertas interpretaciones que difieren un tanto de la forma original de uso que Microsoft implementó. El método Eval() devuelve el resultado de la evaluación ahora, por que MsgInfo( oWebView:Eval( "123" ) ) devolverá 123, y eso sucede igualmente si se ...
by Antonio Linares
Wed Mar 13, 2024 4:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 24.02 new Class TWebView2
Replies: 11
Views: 2493

Re: eval an action - resolved

Resolved with

local cAction:= aImg[5 ]
local bClick := &( "{|| " + cAction + "}" )

saw on fwh\samples\barsetup.prg
by Silvio.Falconi
Tue Mar 05, 2024 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: eval an action - Resolved!!
Replies: 2
Views: 179

Re: eval an action

try
Code: Select all  Expand view

local bClick:= {|| &aImg[5 ] }
 
by VictorCasajuana
Tue Mar 05, 2024 1:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: eval an action - Resolved!!
Replies: 2
Views: 179

eval an action - Resolved!!

... BTNBMP oItem PROMPT aImg[ 1 ] ; FILE aImg[2 ] ; SIZE 72,96 PIXEL OF oPanel ; NOBORDER FLAT oItem:oCursor:= oCursorBtn oItem:baction:= (bClick) not eval the action
by Silvio.Falconi
Tue Mar 05, 2024 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: eval an action - Resolved!!
Replies: 2
Views: 179

Re: Parpadeo de un SAY

... dFecPrePr3 ID Ma_PreProv3Al OF oDlgMa when nProve3>0 REDEFINE BTNBMP oAceptar ID Ma_Aceptar OF oDlgMa FILENAME "ACEPTAR.BMP" ACTION Eval(Graba) REDEFINE BTNBMP oCancelar ID Ma_Cancelar OF oDlgMa FILENAME "CANCELA.BMP" CANCEL ACTION oDlgMa:End() oAceptar:lTransparent = .t. ...
by José Camilo
Sat Mar 02, 2024 10:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Parpadeo de un SAY
Replies: 18
Views: 634

Re: Google Graph extra graphic ? (Navaro)

... the html code is keeping buzy because I can't click or even select the program. I run it from samples folder, so background etc should work. the Eval(Java) code.... Can you show it here ? data is in xbrowse. When running it would make a good sample for the samples folder. and the setting of background ...
by Marc Venken
Wed Feb 21, 2024 10:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Google Graph extra graphic ? (Navaro)
Replies: 23
Views: 2920

Re: Google Graph extra graphic ? (Navaro)

Dear Marc,

Using oWebView:Eval( cJavaScriptCode ) you can modify the chart data, etc.

As you see we can easily use web components from our desktop apps thanks to Class TWebView :-)
by Antonio Linares
Tue Feb 20, 2024 10:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Google Graph extra graphic ? (Navaro)
Replies: 23
Views: 2920

Re: Search by line

... endif function AtLine(itm, xBk)  local st, nOk:=0 ** itm - string  ** xBk - code block  xBk:=&xBk for st=1 to len(itm) if eval(xBk, itm[st]) nOk:=st exit endif next return nOk It works fine, but I wanted to know if there is already a similar function
by Natter
Tue Feb 06, 2024 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search by line
Replies: 8
Views: 314

Re: WebView2 Essentials: Guides, Tips & Resources

... URL. SetHtml(cHtml): Sets the HTML content of the web view. Run(): Runs the web view. Destroy(): Destroys the web view and cleans up resources. Eval(cScript): Evaluates a JavaScript script in the context of the web view. Init(cScript): Initializes the web view with a JavaScript script. GetWindow(): ...
by Otto
Wed Jan 10, 2024 7:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 Essentials: Guides, Tips & Resources
Replies: 2
Views: 483

Re: Using FW_SayText in WebView

... 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 Eval() de la Clase TWebView. Busca "webview" en *.prg en la carpeta samples para ver los ejemplos.
by Antonio Linares
Fri Dec 29, 2023 10:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using FW_SayText in WebView
Replies: 2
Views: 341

Re: copy a row of xbrowse

... := aclone(oBrw:aRow)),; oBrw:SetFocus() ) Function Giverows (oBrw) local n,uBook,nAt local aTmp:= {} For n = 1 to len(oBrw:aselected) uBook := Eval( oBrw:bBookMark ) nAt := Ascan( oBrw:aSelected, uBook ) aCopy:= aclone(oBrw:aArrayData[ nAt ]) Next return acopy
by Silvio.Falconi
Wed Dec 06, 2023 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5830
Next

Return to advanced search