Jump to content
uniGUI Discussion Forums

MOGSY

uniGUI Subscriber
  • Content Count

    161
  • Joined

  • Last visited

  • Days Won

    1

MOGSY last won the day on January 27 2018

MOGSY had the most liked content!

Community Reputation

4 Neutral

About MOGSY

  • Rank
    Active Member

Recent Profile Visitors

326 profile views
  1. MOGSY

    Show Hint For Panel Title

    Thank you
  2. MOGSY

    Show Hint For Panel Title

    How can the hint be changed dynamically? Thank you
  3. MOGSY

    Hiding UniDbGrid Columns

    Thanks
  4. MOGSY

    sending a http request

    thank you
  5. MOGSY

    Hiding UniDbGrid Columns

    sorry about the copy paste!
  6. MOGSY

    Hiding UniDbGrid Columns

    Hi How is possible to hide columns in UniDbGrid? I have tried the following and is not working. for II := 0 to unidbgrid.Columns.Count - 1 do begin if (unidbgrid.Columns.Items[II].FieldName = 'ABC') or (unidbgrid.Columns.Items[II].FieldName = 'EFG') then unidbgrid.Columns.Items[II].Visible := True else unidbgrid.Columns.Items[II].Visible := True; end; Thanks
  7. MOGSY

    sending a http request

    Thank you
  8. MOGSY

    sending a http request

    Hi Roberto Would mind sharing example code please. regards
  9. MOGSY

    sending a http request

    Hi How is possible in UniGui to send a https request and collect the response i.e. sending a request to Google and get the response. https://maps.googleapis.com/maps/api/distancematrix/json?mode=driving&units=imperial&origins=52.779323,-1.211226&destinations=52.643617,-1.126523&key=AIzaSyC41PXsKVx3DmU0sbYy1coK8HUz9WhXFgM Google response would like { "destination_addresses" : [ "257 Belgrave Gate, Leicester LE1 3HU, UK" ], "origin_addresses" : [ "Cloudway Court, Belton Rd, Loughborough LE11 1LW, UK" ], "rows" : [ { "elements" : [ { "distance" : { "text" : "12.4 mi", "value" : 20029 }, "duration" : { "text" : "27 mins", "value" : 1615 }, "status" : "OK" } ] } ], "status" : "OK" } Thank you.
  10. MOGSY

    httpServer generate error

    Thanks great help.
  11. Hi Mehmet How can one achieve 'Your sql only ask changes from previous query' ? regards
  12. MOGSY

    httpServer generate error

    Hi Has anyone have a solution for receiving JSON message from another application. A UniGui application that can receive information from outside world. Many thanks.
  13. MOGSY

    How to post a message to a session

    Hi To send message from your UniGui to your window application try this. try Params := TStringStream.Create(''); IdHTTP1.Request.UserAgent := 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1'; IdHTTP1.Request.CustomHeaders.AddValue('authorization','BASIC your authorization here'); IdHTTP1.Request.CustomHeaders.AddValue('VersionID',VersionID); IdHTTP1.Request.CustomHeaders.AddValue('companyID',aCompanyID); Params.WriteString(Body); URL := 'http://127.0.0.1:8402/yourAPI'; //your server IP and port and any other arg you want IdHTTP1.Request.Method := 'POST'; IdHTTP1.Request.Source := Params; IdHTTP1.Request.ContentType := 'application/x-www-form-urlencoded'; res := TStringStream.create(''); IdHTTP1.ConnectTimeout := 20000; IdHTTP1.post(URL,params,res); finally FreeAndNil(Params); FreeAndNil(res); end;
  14. Hi Roberto, How do you do the socket events and what do you use?
×