Jump to content

ravedadave

uniGUI Subscriber
  • Posts

    24
  • Joined

  • Last visited

Posts posted by ravedadave

  1. Hi Yes.

    I do this via:

     

      ind := mans.ItemIndex;
      modInd := mods.ItemIndex;
      SumGrid.RowCount := NewVehicleroot.Manufacturers[ind].models[modInd].vehicles.Count+1;
      For I := 0 to NewVehicleroot.Manufacturers[ind].models[modInd].vehicles.Count-1 Do
        Begin
        SumGrid.BeginUpdate;
        SumGrid.Cells[0,I+1] := NewVehicleroot.Manufacturers[ind].models[modInd].vehicles[i].description;
        SumGrid.Cells[1,I+1] := NewVehicleroot.Manufacturers[ind].models[modInd].vehicles[i].qtyAvailable.ToString;
        SumGrid.Cells[2,I+1] := NewVehicleroot.Manufacturers[ind].models[modInd].vehicles[i].colour;
        SumGrid.Cells[3,I+1] := NewVehicleroot.Manufacturers[ind].models[modInd].vehicles[i].termSummary;
        SumGrid.Cells[4,I+1] := NewVehicleroot.Manufacturers[ind].models[modInd].vehicles[i].status;
        SumGrid.Cells[5,I+1] := IntToStr(I);
        SumGrid.EndUpdate;
        End;

      SumGrid.Row := 1;

     

    I assumed SumGrid.Row  selected the row but doesn't highlight it.

  2. Hi Sherzod,

    Thanks for the reply, It didn't help, I'm not trying to unselect anything.

    I have attached a screenshot, Everytime the grid loads no line is selected until you click it.

    When I make a change in the comboboxes and reload the grid the same happens.

    I just want the first vehicle row to be automatically highlighted on a change.

    Untitled.png

  3. Hi,

    I have a UniStringGrid after preparing the grid with all the relivant data,  I would like to automatically select the first row (so it shows as highlighted), currently none is until you click it.

    Any hints would be appreciated.

     

  4. Yet another big one this morning, although forum users have attempted to assist the extreme lack of support from FMSoft is awful, I added a support request on the 7th December and not heard a thing for a product that is supposed to be premium like UniGui the support is awful.

    otrsys.dll: 000052B8: 09:05:08 [HandleFileRequest[213.218.205.250]]:File not found: c:\CASystem\wwwroot\font.woff2
    otrsys.dll: 000050A8: 09:05:08 [HandleFileRequest[213.218.205.250]]:File not found: c:\CASystem\wwwroot\font.woff
    otrsys.dll: 00005B38: 09:05:08 [HandleFileRequest[213.218.205.250]]:File not found: c:\CASystem\wwwroot\font.ttf
    otrsys.dll: 00005B38: 10:11:46 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10054
    Connection reset by peer. : Addr: $0000000000B4C2F2
    otrsys.dll: 00005B38: 10:11:49 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00004A14: 10:11:50 [SendCommand Error, Node: 7]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 00005B38: 10:11:56 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00004A14: 10:12:01 [SendCommand Error, Node: 7]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 00001C24: 10:12:01 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00001C24: 10:12:06 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00001C24: 10:12:08 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00003434: 10:12:08 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00003434: 10:12:11 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00001C24: 10:12:11 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00004A14: 10:12:12 [SendCommand Error, Node: 7]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 00001C24: 10:12:13 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00001C24: 10:12:15 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00001C24: 10:12:16 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00001C24: 10:12:17 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00005544: 10:12:19 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00003434: 10:12:20 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00003434: 10:12:21 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00003434: 10:12:22 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00004A14: 10:12:23 [SendCommand Error, Node: 7]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 00004A14: 10:12:23 [Node #7]:Node Status request timed out. Node purged.
    otrsys.dll: 00003434: 10:12:24 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00003434: 10:13:41 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdSocketError, Socket Error # 10054
    Connection reset by peer. : Addr: $0000000000B4C2F2
    otrsys.dll: 00003434: 10:13:43 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00004A14: 10:13:46 [SendCommand Error, Node: 3]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 00003434: 10:13:49 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00004A14: 10:13:58 [SendCommand Error, Node: 3]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 00004A14: 10:14:09 [SendCommand Error, Node: 3]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 00003434: 10:14:12 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00005544: 10:14:14 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00004A14: 10:14:20 [SendCommand Error, Node: 3]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 00004A14: 10:14:20 [Node #3]:Node Status request timed out. Node purged.
    otrsys.dll: 00003434: 10:14:21 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 000052B8: 10:19:49 [HandleFileRequest[213.218.205.250]]:File not found: c:\CASystem\wwwroot\font.woff2
    otrsys.dll: 000012E4: 10:19:49 [HandleFileRequest[213.218.205.250]]:File not found: c:\CASystem\wwwroot\font.woff
    otrsys.dll: 000012E4: 10:19:49 [HandleFileRequest[213.218.205.250]]:File not found: c:\CASystem\wwwroot\font.ttf
    otrsys.dll: 000045A4: 10:27:59 [HandleFileRequest[213.218.205.250]]:File not found: c:\CASystem\wwwroot\font.woff2
    otrsys.dll: 000045A4: 10:28:00 [HandleFileRequest[213.218.205.250]]:File not found: c:\CASystem\wwwroot\font.woff
    otrsys.dll: 000052B8: 10:28:00 [HandleFileRequest[213.218.205.250]]:File not found: c:\CASystem\wwwroot\font.ttf
    otrsys.dll: 00005544: 11:15:11 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[4], EIdSocketError, Socket Error # 10054
    Connection reset by peer. : Addr: $0000000000B4C2F2
    otrsys.dll: 00005544: 11:15:13 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[4], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00004A14: 11:15:14 [SendCommand Error, Node: 4]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 000009C0: 11:15:19 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[4], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 000012E4: 11:15:24 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[4], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00004A14: 11:15:25 [SendCommand Error, Node: 4]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 000012E4: 11:15:29 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[4], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 000009C0: 11:15:34 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[4], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00004A14: 11:15:37 [SendCommand Error, Node: 4]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 00001298: 11:15:39 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[4], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 000009C0: 11:15:45 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[4], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00004A14: 11:15:48 [SendCommand Error, Node: 4]:Socket Error # 10061
    Connection refused.
    otrsys.dll: 00004A14: 11:15:48 [Node #4]:Node Status request timed out. Node purged.

     

  5. 5 minutes ago, irigsoft said:

    If You rename this dll to otrsys_old.dll, will You have this errors ?

    Thanks, it's a bit hard to do that due to having to change the urls each user, uses.  otrsys.dll is just hyper_server.dll renamed.

     

    9999.png

  6. Thanks,

    I don't have any anti-virus loaded on the servers, i'm troubled that I have had no official response to the ticket raised, I was hoping with a framework as great as unigui the official support would be excellent too, i'm a bit dissapointed now.

  7. Hi,

    Thanks for your reply.

    Deployment is Hyperserver via Isapi on IIS Windows Server 2019.

    UniGuid build is 1.90.0.1555

    DB is postgres via FireDac.

    With SSL (via IIS).

    Windows server host is Windows Server Standard 2019, 8 x cpu 32gb RAM

    Database server is cent os 32GB 8  x cpu

    Server is a dedicated server located in a datacenter with 1GB bandwidth.

    Have 20+ users accessing, issue happens itermittently during the day kicks everyone out and loses their session.

    IIS Pool config attached.

    Hyperserver Config:

    [transport]
    pool_size=0
    command_timeout=20000
    request_timeout=300000
    connect_timeout=20000

    [http_transport]
    start_port=16384

    [hyper_server]
    binary_name=CASystem.exe
    initial_nodes=2
    max_nodes=8
    max_sessions=0
    sessions_per_nodes=0
    prompt_login=1
    persistent_node_zero=0
    detailed_log=0
    port=8077
    url_path=
    url_referer=
    ext_root=[ext]\
    uni_mobile_root=[unim]\
    uni_root=[uni]\
    server_root=
    uni_packages_root=[unipack]\
    max_requests=500
    antiflood_per_ip=0
    server_title=OnTheRoad Server Administration
    server_build=1.90.0.1555
    framework_files_root=
    session_one_per_ip=0
    dont_create_backup=0
    http_max_pool=500
    max_connections=500
    allow_remote_config=1

    [node_recycling]
    enabled=1
    recycle_after_secs=3600
    recycle_after_sessions=0
    recycle_after_idle_secs=0
    recycle_when_empty=1
    recycle_after_idle_seconds=0

    Not sure what else you guys need ?

    Kind Regards,

     

    Dave.

    iis_01.png

    iis_02.png

  8. Hi,

    We seem to be getting intermittent connection issues on our live server which is timing out issues, I cannot see issues with our internet connection.

    I have noticed in the HyperServer log the following:

    otrsys.dll: 00006BE8: 10:03:56 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[4], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:03:57 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[5], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:03:57 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[5], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:03:58 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[6], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:03:58 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[6], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:03:58 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[6], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:01 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[5], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:01 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:01 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[4], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:02 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[7], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:17 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[6], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:17 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[6], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:17 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[6], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:30 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[2], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:45 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:47 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[6], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:48 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[2], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:49 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[6], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:49 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[6], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:55 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[1], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:55 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[1], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2
    otrsys.dll: 00006BE8: 10:04:55 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[1], EIdNotASocket, Socket Error # 10038
    Socket operation on non-socket. : Addr: $0000000000B4C2F2

     

    Other Issues:

    otrsys.dll: 000050F4: 16:59:28 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 000050F4: 16:59:30 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00002B20: 16:59:31 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00002B20: 16:59:36 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 000050F4: 16:59:36 [HttpExtensionProc[213.218.205.250]]:EUniHyperServerException : TUniHyperServer.HandleHTTPRequest(), Node:[3], EIdSocketError, Socket Error # 10061
    Connection refused. : Addr: $0000000000B4C2F2
    otrsys.dll: 00001558: 16:59:37 [SendCommand Error, Node: 3]:Socket Error # 10061

     

     

    Any ideas as it is causing our users major issues,

     

    Thanks,

     

    Dave

     

  9. On 7/21/2020 at 4:53 PM, Sherzod said:

    Hi,

    You can try to use this approach.

    UniHTMLMemo.ClientEvents.ExtEvents ->

    
    function initialize(sender, eOpts)
    {
        sender.iframeEl.dom.contentDocument.body.addEventListener('click', function(e) {
            e.preventDefault()
        });
    }

     

    Perfect! You are a legend, Thank You.

     

    • Like 1
  10. Hi All,

    Is there a way to to disable the action of an end user clicking a link in a HTMLMemo.

    For example the html content links to another site and the end user clicks the link currently the content of the HTMLMemo is redirected to that site, is there a way to supress it so it doesn't but still maintain the link content.

     

    Thank You.

     

    Dave.

  11. On 6/29/2020 at 11:23 AM, Sherzod said:

    Ok.

    It is better to use a client-side solution.

    For example:

    1. UniLabel, UniMemo1

    2. UniMemo1.ClientEvents.UniEvents:

    
    function beforeInit(sender, config)
    {
        config.enforceMaxLength = true;
        config.maxLength = 160;
    }

    3. UniMemo1.ClientEvents.ExtEvents:

    
    function keyup(sender, e, eOpts)
    {
        MainForm.UniLabel1.setText('You have entered '+ sender.getValue().length +' characters of 160');
    }

    4. 

    
    procedure TMainForm.UniFormReady(Sender: TObject);
    begin
      UniLabel1.JSInterface.JSCode(#1'.setText(''You have entered ''+'+ UniMemo1.JSName +'.getValue().length + ''  characters of 160'');');
    end;

     

    Thank You!

     

    Very much appreciated,

     

    Kind Regards. Dave

    • Like 1
  12. 53 minutes ago, Sherzod said:

    Hi,

    Sorry, for what purpose do you want to use it?

    Hi,

    Thanks for the reply.

    So I need to count the characters entered into an TUniMemo (i.e. You have entered 64 characters of 160)

    it's for sending an SMS Text to let the end user know when they are reaching the length of the maximum text.

     

  13. Hi,

    I am trying to count the characters entered into a TUniMemo box as they are typed, All the KeyPress functions do not work correctly, can anyone recommend another way of doing it accurately ?

     

    Thanks,

     

    Dave.

     

  14. 1 hour ago, Hayri ASLAN said:

    Hi,

    You can set UniTabSheet1.Closable:=False while editing. This will remove "X" button

    Hi Thanks for the replay.

    I need to keep the X button on the tab as they will end up gathering a lot of tabs.

    is there any way to pass back ?

    Thanks.

  15. Hi,

    Just took the plundge and purchased Unigui, great product well done.

    I have the following scenario as shown in the picture below.

    on my Mainform I have a PageControl where a frame is loaded for a specific function of my program.  This loads a frame with another Page control and a set of tabsheets.

    The contents of the second pagecontrol / tabsheet1 is data fields that the user can modify so when they click the "Edit" button the dataset goes into "Edit" mode.

    What I am trying to avoid is the user closing the MainForm Tab  Vehicle (FL20 CVT) whilst the dataset is in edit mode on the other frame.

    how can I pass something back to the main form to stop the tab from being closed ?

    Thank You.

    Dave

     

     

     

     

    tabs.png

  16. Hi,

    I am currently evaulating UniGUI and very impressed so far.

    I am using A UniTabsheet the same as the full example with a menu, when you click the menu item it loads the frame form via TUniFrameClass

    This is great, but I need more than one occurence, for example launch multiple copies of that tab via other means.

    The first one loads from the menu fine, but when I try to invoke another using this crude code:

     

    var
    Ts : TUniTabSheet;
    FrC : TUniFrameClass;
    Fr : TUniFrame;
    FClassName: string;
    begin
     Ts := TUniTabSheet.Create(Self);
     Ts.PageControl := UniPageControl1;
     Ts.Closable := True;
     //Ts.OnClose := TabSheetClose;
     //Ts.Tag := NativeInt(Nd);
     Ts.Caption := 'MOO';
     Ts.ImageIndex := 0;
     FClassName :='TUniVehicleMain';
     FrC := TUniFrameClass(FindClass('TUniVehicleMain'));
     Fr := FrC.Create(Self);
    
     Fr.Align := alClient;
     Fr.Parent := Ts;
     UniPageControl1.ActivePage := Ts;

    I get a warning specify "UniVehicleMain" already exists.

    I need to be able to create multiple tabs with the same "UniVehicleMan" Frame.

    Please could someone advise as I need to confirm what I need to achieve so I can purchase.

    Thanks,

    Dave

     

×
×
  • Create New...