
WilliamC
Members-
Content Count
14 -
Joined
-
Last visited
About WilliamC
-
Rank
-
Perhaps this will help -- this is from my latest: /// procedure TW3CustomApplication.ShowModal(form: TW3CustomForm; panel: TW3CustomControl; focusControl: TW3CustomControl; onInit: TModalDialogProc = nil; onOK: TModalDialogProc = nil; onCancel: TModalDialogProc = nil) /// [line: 579, column: 32, file: SmartCL.Application] ,ShowModal:function(Self, form, panel, focusControl$1, onInit$1, onOK$1, onCancel$1) { var zIndex$1 = 0; This from the one that works: /// procedure TW3CustomApplication.ShowModal(form: TW3CustomForm; panel: TW3CustomControl; focusControl: TW3CustomContr
-
It is failing with the latest one. I can detect no difference with the RTL I have for earlier versions. (As someone else reported, running your own demo should fail as well.) I have been pretty up to date with my versions. The compiled example that is running correctly has a date of November 14, 2014. (How can i tell exactly which version was used?)
-
Sorry if this is in the wrong place, but we have an urgent problem with Showmodal and HideModal. We are getting a javascript exception when calling Hidemodal, which results in the modal dialogue still showing. This is with code that is has been in existence for 9 months and is still being used successfully with, I believe, the compilation from a previous version of SMS. But in this newer version we are getting this problem. My guess is it may be an issue with push and pop of the modalinfo array.
-
I am having the very same issue. hidemodal seems to be complaining about this line: TObject.Free(modalInfo$1.OpaqueMask);
-
Thanks very much. Is it implemented enough in 2.0 to be able to send just a name value pair?
-
Jon, I need to do the same thing -- use a POST request to an existing server. I do not see the example anywhere. I would really appreciate an example. Have been using your Get implementation for years with good results, and POST requests in Javascript, but no i need to use the POST request in SMS. Thanks!
-
Jon, I need to do the same thing -- use a POST request to an existing server. I do not see the example anywhere. I would really appreciate an example. Have been using your Get implementation for years with good results, and POST requests in Javascript, but no i need to use the POST request in SMS. Thanks!
-
Are the parameters of the URL call available somewhere? I understand that in Javascript they can be found at window.location. Thanks, Bill
-
I am struggling how to work with gestures in SMS. I can find plenty of javascript and jquery examples but that doesn't help me code it in SMS. An example of detecting left and right swipes concurring in a panel would be extremely helpful--I want to change the canvas in response--like a simple slide show. Thanks!
-
Specifically, I would like to know how to force an onclick event for a combobox when a button is clicked. Is this possible? Thanks!
-
Success! The trick was in learning how to get an Object reference and ID for a javascript object that is defined in (exists in) javascript rather than in SMS. This would seem to be something that should be emphasized as a major feature of SMS.
-
Thank you. I am including a link to the Chart object output by TChart. I would like to be able to use/access this as a TW3Chart in SMS: http://www.wrcresearch.com/trackday/thistestchart.htm
-
I have been trying out SMS as well as the beta (from Steema) of the TChart component and I have been quite impressed. Now what I want to do is to be able to use the new Active HTML5 TChart exported from TChart VCL (SaveToJavaScript file) so that I can "import" charts created from TChart VCL into SMS TChart. Both TCharts seem to use the same Javascript library. Any help would be very much appreciated!