Jump to content
uniGUI Discussion Forums

Hayri ASLAN

Moderators
  • Content Count

    779
  • Joined

  • Last visited

  • Days Won

    54

Everything posted by Hayri ASLAN

  1. Hayri ASLAN

    generic method to follow the user activity

    Do you want to track all clicks, etc?
  2. Hayri ASLAN

    How To Determine If Calendar Dropped Down Or Closed?

    procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniDateTimePicker1, JSInterface do begin JSAddListener('collapse', JSFunction('', 'ajaxRequest('#1', "collapse");')); JSAddListener('expand', JSFunction('', 'ajaxRequest('#1', "expand");')); end; end; Then in OnAjaxRequest of component, capture the events. if EventName ='...' then begin ... := Params.Values['...']; end
  3. Hayri ASLAN

    How To Determine If Calendar Dropped Down Or Closed?

    Hi You can use expand and collapse events in ExtEvents.
  4. Hi, Please check the below code. procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniStringGrid1, JSInterface do begin JSAddListener('celldblclick', JSFunction('sender, td, cellIndex, record, tr, rowIndex, e', 'ajaxRequest('#1', "celldblclick", {cell:cellIndex});')); end; end;
  5. Hayri ASLAN

    Possible to use svg in dbgrid?

    Hi, You can use FieldImageURL event. This worked for me.
  6. Hayri ASLAN

    GPX Viewer

    What is you external gpx viewer's URI Scheme? like "tel://0123456789"; "geo:0,0?q=your+street+address"; "content://call_log/calls/0"; // must have READ_CONTACTS perm "content://calendar/events"; // must have READ_CALENDAR perm
  7. Hayri ASLAN

    UniSweetAlert problem with Execute method.

    Your test case is not clean. Also, ServerModule.dfm not found. To able to use Execute method, you need to set MainModule.EnableSynchronousOperations True.
  8. Hayri ASLAN

    1 url opened on 2 browser tab create diffrent session id

    You can not. Every tab is a one session so they have different sessionId.
  9. Hayri ASLAN

    How to HandleRequest on MainModule

    Instead of calling on before login, call onaftershow and set modalresult true based on response
  10. Hi Everything will be same with desktop app. Add idhttp to mainmodule. When you call get or post, this call will be from your server ip, not client's ip.
  11. Hayri ASLAN

    UniSweetAlert problem with Execute method.

    Can you please create a test case?
  12. Hayri ASLAN

    MonitoredKeys issue

    Hi You can use UniMainModule-> DocumentKeyOptions-> dkDisableF5
  13. Hayri ASLAN

    creating many TUniFrame at runtime

    You can use UniSession.SuspendLayouts and UniSession.ResumeLayouts. But nobody will create 3100 frames in a web application.
  14. Hayri ASLAN

    creating many TUniFrame at runtime

    Please add frMiesiac to test project
  15. Hayri ASLAN

    No paging bar in undbgrid

    Hello, First of all, please adjust your forum emaill address:
  16. Hayri ASLAN

    UniDBComboBox Items and Values also UniDBRagioGroup

    Hi, It is in our roadmap.
  17. Hayri ASLAN

    How to force numeric keyboard mobile devices

    We already added this property. Please check inputType
  18. Hayri ASLAN

    problem with dblookupcombobox in dbgrid

    This demo exactly using different fields for keyfield and listfield
  19. Hayri ASLAN

    problem with dblookupcombobox in dbgrid

    Please Check DBLookupCombobox - Grid Mode demo
  20. Hayri ASLAN

    Google OAuth2

    I created a simple unit for google oauth2. To get QR Code, call UniImage1.Url:=GetQRCodeUrl(UniImage1.Width, UniImage1.Height, 'YOURSECRETKEY', 'your email address', 'Your name'); To ValidateOTP : if Format('%.6d', [CalculateOTP('YOURSECRETKEY')]) = UniEdit1.Text then begin // Valid end; Here some screenshots GoogleAuth.pas
  21. Hayri ASLAN

    Google OAuth2

    Source code is attached to first post
  22. Hayri ASLAN

    Gui update

    You can't update UI unless you get an event from client side.
  23. Hayri ASLAN

    TUnimurlframe can't scroll on ipad

    Hello Can you please create a test case to work on it?
  24. Hayri ASLAN

    take Session: .. from one device to another

    Unfortunately this is not possible right now
  25. Hayri ASLAN

    After CloseBrower 2 Session Created

    I created ghost session for testing. Ghost sessions means browse localhost:8077, before form load close the page.
×