Jump to content

TAURO

uniGUI Subscriber
  • Posts

    9
  • Joined

  • Last visited

Posts posted by TAURO

  1. Thanks

    Yes you understand, but why in this event

    procedure TFAutoGeoReferencia.UniURLFrame1FrameLoaded(Sender: TObject);
    begin
      UniSession.AddJS(UniURLFrame1.JSName+'.iframe.contentWindow.PonerDireccion("'+Domicilio+'"); ');

    end;

    occurs the same

    Ajax error

    O243.iframe.contentWindow.PonerDireccion is not a function

    when the function is available for use this without button's click???

     

    Hi,

    here attach a test, with two buttons, one in the html code and other from the UniGui's palette,

    In the event FrameLoaded the function not work, not trigger the message but can be seen with the browser

    in debug mode (F12)

    (index):37 Uncaught TypeError: O13.iframe.contentWindow.PonerDireccion is not a function

     

    Test.rar

  2. Thanks

    Yes you understand, but why in this event

    procedure TFAutoGeoReferencia.UniURLFrame1FrameLoaded(Sender: TObject);
    begin
      UniSession.AddJS(UniURLFrame1.JSName+'.iframe.contentWindow.PonerDireccion("'+Domicilio+'"); ');

    end;

    occurs the same

    Ajax error

    O243.iframe.contentWindow.PonerDireccion is not a function

    when the function is available for use without button's click???

    Why function is only available for button's click but before is not available...???

  3. When an form with a UniURLFrame, that load at runtime, is completely loaded and a function scripts js enabled

    for execute.??

    When execute with a button's click the function exists but  if execute at event FormReady  not exist yet.

    This is the example

    In Html Code:

            function PonerDireccion(Direccion) {
                document.getElementById("geocomplete").value = Direccion;
                          }

    In delphi:

    procedure TFAutoGeoReferencia.UniFormShow(Sender: TObject);
    begin
      UniSession.AddJS(UniURLFrame1.JSName+'.iframe.contentWindow.PonerDireccion("'+Domicilio+'"); ');

    end;
    Here the function not exists yet

    Here yes exists and execute, work fine!!

    procedure TFAutoGeoReferencia.uniBtn1Click(Sender: TObject);
    begin
         UniSession.AddJS(UniURLFrame1.JSName+'.iframe.contentWindow.PonerDireccion("26 Nro 1785"); ');

    end;
     

     

  4. Hello Sherzod,
    the previous version was a Trial 1.90.0.1530 and currently we have purchased the Complete version 1.90.0.1534 which is the one that produces this error. I recently related this forum account "TAURO" with the purchased license.

    • Like 1
  5. Hello,

    the same thing happens to me, and I am using third-party non-visual components, IBOBJECTS connecting to a FIREBIRD base.
    Before it worked perfectly, but since I compiled with version 1.90.0.1534, it started with that failure intermittently.
    isc error 335544421 connection rejected by remote interface.

    Can you guide me where the solution would be, Thanks.
     

  6. Hello,

    I have a grouped uniDBGrid. (uniDBGrid.Grouping = Enabled)

    I can Collapse or Expand all groups at runtime, but can't find a way to do it individually.
    For example. I want the Grid to show me the groups collapsed to a record, and from there on the rest expanded and do it at runtime, by code.

    Can someone help me to achieve this?

    Thank you so much.

     

    This is an image of the grid as an example:

    https://drive.google.com/file/d/1O-D4ngD3RAW0yZ3203-Pi0P2MjjvEhYM/view?usp=sharing

×
×
  • Create New...