Jump to content
uniGUI Discussion Forums

dkeene

uniGUI Subscriber
  • Content Count

    121
  • Joined

  • Last visited

Community Reputation

3 Neutral

About dkeene

  • Rank
    Active Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. dkeene

    Timeout Warning

    Thank you, Sherzod for the reference. Are you saying to copy the following text into the form's "SCRIPT" property in the object inspector: var IDLE_TIMEOUT = 60; //seconds var _idleSecondsCounter = 0; document.onclick = function() { _idleSecondsCounter = 0; }; document.onmousemove = function() { _idleSecondsCounter = 0; }; document.onkeypress = function() { _idleSecondsCounter = 0; }; window.setInterval(CheckIdleTime, 1000); function CheckIdleTime() { _idleSecondsCounter++; var oPanel = document.getElementById("SecondsUntilExpire"); if (oPanel) oPanel.innerHTML = (IDLE_TIMEOUT - _idleSecondsCounter) + ""; if (_idleSecondsCounter >= IDLE_TIMEOUT) { //alert("Time expired!"); //document.location.href = "logout.html"; ajaxRequest(MainForm.form, '_idle_timeout', []); } } and then copy the following into the form's OnAjaxEvent: if EventName = '_idle_timeout' then begin // your logic ShowMessage('idle_timeout'); end; this is what I tried but no result.
  2. dkeene

    Timeout Warning

    Hello Is there any way to make the application WARN the user when a timeout will occur? For example, using online banking, no matter what form I am on, if I leave the session unattended it will pop-up a warning and indicate X minutes to forced log off unless you wish to continue, and if not, will close the session and revert to login screen? This would protect your banking information and privacy and prevent user from leaving the system unattended. Thank you! Any example would be helpful Doug
  3. dkeene

    MySQL and unigui

    Thank you cbr, this is still not working for me. I am not sure how to "register" the 64 bit libmysql.dll, I tried regsvr32 but that did not work. In a new windows machine I install MySql 8. This seems to set up a folder C:\Program Files\MySQL\MySQL Server 8.0\lib with a file libmysql.dll which i copy into the directory of my application. I use the Release switch, so my executable is in: c:\MyApplication\Win64\Release, where the libmysql.dll, about 6.4 megabyes, is clearly copied. The new machine does not have Delphi (XE8) installed, so I don't know what changes were made that enables the program to work on the development machine vs. this new machine. I installed UniGUI hyperserver on the new machine. I click the executable in c:\MyApplication\Win64\Release and I get the error: An Exception has occured in application: [FireDAC][Phys][MySQL]-314. Cannot load vendor library [libmysql.dll or libmysqld.dll]. The specified module could not be found. Hint: check it is in the PATH or application EXE directories, and has x64 bitness.! Restart application Have you or anyone set up a new machine and could outline the steps to get this to work? Thank you Doug
  4. dkeene

    MySQL and unigui

    i can't even get this to work on the original machine
  5. dkeene

    MySQL and unigui

    I also tried the library location from the actual installation MyString:='C:\Program Files\MySQL\MySQL Server 8.0\lib\'+'libmysql.dll'; no matter where I put the libmysqll.dll it can't find it or load it
  6. dkeene

    MySQL and unigui

    Thank you erich and cbr. I don't get how difficult this can be. On TUniServerModule.UniGUIServerModuleCreate(... begin MyString:='C:\MyUniApplicationS\libmysql.dll'; Self.FDPhysMySQLDriverLink1.VendorLib:=MyString; end; yet despite the libmysql.dll being at this location, I get the error: can not load vendor library... any other ideas? I am running in Release Mode.
  7. dkeene

    MySQL and unigui

    Howdy I have been using unigui and MySQL nicely for development in 64 bit mode. I am now trying to create a server machine for deployment. I have nicely installed 64bit mysql on the target server along with unigui hyperserver, but so far, i can't get past this error: [FireDAC][Phys][MySQL]-314. Cannot load vendor library [libmysql.dll or libmysqld.dll]. The specified module could not be found. Hint: check it is in the PATH or application EXE directories, and has x64 bitness.! is anyone familiar with exactly where to place the libmysql.dll ? Thank you Doug
  8. dkeene

    UniPageControl Tabsheet Order

    Thank you, Sherzod, this worked fine. Is the control supposed to work by setting the PageIndex?
  9. dkeene

    UniPageControl Tabsheet Order

    Hello I have created a UniPageControl with Tabsheets, for example, A, B, C, D, E. I try to change the tab order, for example, to B, A, C, D, E, by assigning TabSheetB.PageIndex:=0 and TabSheetA.PageIndex:=1. This does not seem to work, and debugging shows that the PageIndex will only change in the design mode or loading mode. Does anyone know the way to change the order of a tabsheet in a Pagecontrol during runtime??? Thank you Doug
  10. dkeene

    webcam

    so copy these files as they are (both dll from x64 and x86) right into the executable directory?
  11. dkeene

    webcam

    Thanks, Mehmet. I tried the link to the other solution but it has been removed ;(. I tried your solution but I get "Project webcam raised exception EIdOSSLCouldNotLoadSSLLibrary" have you heard of this? I have not seen it.
  12. dkeene

    webcam

    Thank you, Mehmet I will try this now! I hope i can get this working
  13. dkeene

    webcam

    OK, thank you i will wait and I am trying to make this work, based on your post. Are you saying that the attached index.html, adapter-latest.js and main.js files need to reside on each remote computer?
  14. dkeene

    webcam

    Hi, Mehmet Is there any way you could send me a form ? I don't quite understand where to put the javascript attachments... Thank you much
  15. dkeene

    Font Management

    Thank you Abaksoft, I will try. Unfortunately, my application, which also creates a PDF using the unique font on the server, don't show the unique font in the file. I will update the browser and try another browser like firefox.
×