Search found 36 matches: myfunc

Return to advanced search

Calling a function from a function

I upload approximately the following HTML text to the Webview. How to call the myfunc() function using the oWebview:Eval() method ? (DG - external handler) <!DOCTYPE html><html>    <head>    </head>    <body>  ...
by Natter
Wed Feb 08, 2023 8:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calling a function from a function
Replies: 2
Views: 207

Re: How to use xbrowse():lKinetic with xbrowse():bLClicked

... use :bLClicked. If I set :bLClicked, :lKinetic does not work. 3. I do not :lKinetic := .F., and :bLClick := { |r,c,f,brw,lTouch| if(lTouch, nil, MyFunc() ) } *lTouch alway .T.*. It means, MyFunc() never call. 4. I do :lKinetic := .F., Drag and scroll is not working. These are all my test. Thank ...
by dutch
Wed Oct 20, 2021 3:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use xbrowse():lKinetic with xbrowse():bLClicked
Replies: 5
Views: 454

SetKey() not clear

I have on procedure

SetKey( VK_F8, {||myfunc()} )

the user press F8 it run but also run if the user click crtl + f8
it run also if the user press F7 + F8 or shift+F8 or another key + F8
How it' s possible it ?
by Silvio.Falconi
Mon May 31, 2021 6:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetKey() not clear
Replies: 0
Views: 146

Re: UE Studio Config - Harbour 3.0, MSVC, FWH

... in the examples below I will discriminate white spaces with the character + Every function should start without spaces, for example: FUNCTION MYFUNC () //> Correct +++ FUNCTION MYFUNC () //> wrong In the case of RETURN you also have to follow the rule to close the function or procedure ...
by Giovany Vecchi
Thu Jan 16, 2020 12:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: UE Studio Config - Harbour 3.0, MSVC, FWH
Replies: 52
Views: 18462

Re: Preview Window size

As of now, the only way is to modify rpreview.prg. it is not necessarily correct you can use a function of yours instead of the activate method without changing the original class Tim you must call this at the init of your application on Myactivatefunction you put your activate function now I copie...
by Silvio.Falconi
Tue Oct 15, 2019 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview Window size
Replies: 6
Views: 818

Re: oRs:EditBaseRecord

vilian wrote:May be this can help you:

oRs:EditBaseRecord(NIL,.T.,{|oRec| MyFunc(oRec)}, oLbx)


How Can I create oRec? (I don't use editbaserecord, I want to convert my function) Is it oRs?

Thanks,
by Horizon
Sun Aug 19, 2018 2:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oRs:EditBaseRecord
Replies: 4
Views: 549

Re: oRs:EditBaseRecord

May be this can help you:

oRs:EditBaseRecord(NIL,.T.,{|oRec| MyFunc(oRec)}, oLbx)
by vilian
Sun Aug 19, 2018 2:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oRs:EditBaseRecord
Replies: 4
Views: 549

Re: ADORDD. Set Filter. Muy lento.

... son. SET FILTER es obligatorio para lograrlo. Existen situación en la que los filtros no se pueden traducir a SQL declaraciones ex SET fFILTER TO MyFunc () por lo que deben trabajar como rdd dbf. El ADO_SKIPFILTER funciona igual que skipfilter de tipo rdd dbf. La cuestión aquí es que SET FILTER ...
by AHF
Wed Dec 23, 2015 2:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADORDD. Set Filter. Muy lento.
Replies: 4
Views: 972

Save all the Screen to BMP

... a F8 key to try to create a BMP of all the video screen, but i'am not able !! :-( This is my example: define timer otime interval 50 action myfunc() of mainwnd activate timer otime . . . function myfunc if getasynckey(119) * F8 pressed HERE i need to write a BMP file with all the present ...
by Romeo
Wed Oct 07, 2015 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save all the Screen to BMP
Replies: 13
Views: 1834

Re: fivetouch

... info sulla sintassi per la funzione VALID nell'istruzione : @ 15, 060 GET oCod VAR cCod OF oDlg se uso @ 15, 060 GET oCod VAR cCod OF oDlg Valid myFunc() BUFF.prg(99) Error E0030 Syntax error "syntax error at '@'" grazie
by solving
Thu Jun 11, 2015 4:14 pm
 
Forum: All products support
Topic: fivetouch
Replies: 20
Views: 5116

Re: How to disable an item of a radio control

Hua,

please comment out WHEN MyFunc() and it will work fine.

EMG
by Enrico Maria Giordano
Tue Jun 09, 2015 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to disable an item of a radio control
Replies: 7
Views: 2151

Re: ADO RDD xHarbour

Antonio, Can it work like this? index on &( MyFunc( myparams ) ) TO TEMP1 FOR &( MyFunc2( myparams ) ) No, as "myparams" can be a field name. It has to be completely dynamic. EMG Enrico, But what do these functions return? The ...
by AHF
Tue May 12, 2015 1:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 441927

Re: ADO RDD xHarbour

Antonio,

AHF wrote:Can it work like this?

index on &( MyFunc( myparams ) ) TO TEMP1 FOR &( MyFunc2( myparams ) )


No, as "myparams" can be a field name. It has to be completely dynamic.

EMG
by Enrico Maria Giordano
Tue May 12, 2015 11:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 441927

Re: ADO RDD xHarbour

Enrico Maria Giordano wrote:Antonio,

No, to all your questions. :-(

EMG


Enrico,

Can it work like this?

index on &( MyFunc( myparams ) ) TO TEMP1 FOR &( MyFunc2( myparams ) )
by AHF
Tue May 12, 2015 11:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 441927

change Image

I wish change a image when I move the mouse over the image control
sample :

&img_name:bMMoved:= { || myfunc() }

Func Myfunc()

&img_name:cBmpfile:="full.bmp"
return nil

I tried with LoadImage, LoadBmp or setbmp and all make error I not Know why
by Silvio.Falconi
Wed Dec 24, 2014 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change Image
Replies: 1
Views: 334
Next

Return to advanced search