Jump to content

WilliamC

Members
  • Content count

    14
  • Joined

  • Last visited

  1. hidemodal problem

    Thanks!
  2. hidemodal problem

    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: TW3CustomControl; onInit: TModalDialogProc = nil; onOK: TModalDialogProc = nil; onCancel: TModalDialogProc = nil) /// [line: 533, column: 32, file: W3Application] ,ShowModal:function(Self, form, panel, focusControl$1, onInit$1, onOK$1, onCancel$1) { var zIndex = 0; var opaqueMask = null; var modalInfo$2 = null; if (!Self.FModalInfoList.length) {
  3. hidemodal problem

    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?)
  4. hidemodal problem

    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.
  5. Issue with 'Application.Showmodal ?'

    I am having the very same issue. hidemodal seems to be complaining about this line: TObject.Free(modalInfo$1.OpaqueMask);
  6. HTTP POST Data

    Thanks very much. Is it implemented enough in 2.0 to be able to send just a name value pair?
  7. Could use HTTPPOST example

    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!
  8. HTTP POST Data

    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!
  9. URL Parameters

    Are the parameters of the URL call available somewhere? I understand that in Javascript they can be found at window.location. Thanks, Bill
  10. Need swipe gesture example

    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!
  11. How to fire an event

    Specifically, I would like to know how to force an onclick event for a combobox when a button is clicked. Is this possible? Thanks!
  12. TeeChart import

    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.
  13. TeeChart import

    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
  14. TeeChart import

    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!
×