FoxInCloud
Re: Click() event on button
From: | Thierry Nivelet (FoxInCloud) |
To: | Michele |
Where do i have to set the set path command ?
This is my click code
LPARAMETERS nButton, nShift, nXcoord, nYcoordIF (Type('m.thisForm.wlHTMLgen') == 'L' AND m.thisForm.wlHTMLgen)RETURN .F.ElseExternalForm EditApp EditApp = ThisForm.wForm('_form_appuntamento','wFormCallBack', This.appId)ENDIF
return .F. ignores event
return .T. send event to the server
This is form.html
<!-- Generated on 13/12/2012 14:38:41 by FoxInCloud version 1.26 -->><divid="_form"class="form awfrm mobfrm _form"tabindex="600"><divclass="awHTMLgenError">Method or procedure cimageweb(): error #1 ("File 'd:\sviluppo\erpmobile\code\_gdiplus.vcx' does not exist.") at code line #271 ("toGDIplus = Iif(loClass(m.toGDIplus, 'gpImage'), m.toGDIplus, NewObject('gpImage', '_GDIplus.vcx'))")</div></div><!-- / Generated on 13/12/2012 14:38:41 by FoxInCloud version 1.26 -->>
VFP can't find _gdiplus.vcx
you probably miss a SET PATH TO ... ADDITIVE
and this is form.js
/* Free space for Firebug messages *///* Generated on 13/12/2012 14:38:41 by FoxInCloud version 1.26 -- *//FoxInCloud.documentInit('_form');/* -- / Generated on 13/12/2012 14:38:41 by FoxInCloud version 1.26 *//
I have these files only in test not in prod folder
Michele,
can you please post :
- form.html and form.js in both dev and prod modes
- you cmd.click() adapted source code
?
thanks,
I have a button on my form.....when i use it in debug mode no problem....when i use it not in debug mode it doesn't work......it is like i have no code in the method...The button is in a container...
Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II)