Jump to content
uniGUI Discussion Forums

wsv01

uniGUI Subscriber
  • Content Count

    33
  • Joined

  • Last visited

Community Reputation

0 Neutral

About wsv01

  • Rank
    Newbie

Recent Profile Visitors

153 profile views
  1. I purchased and am using the uniGUI solution for building web pages for customer portals. I did not purchase the mobile feature set at this time. I would like to know if the mobile feature set is able to access the phones features like IMEI number, address book, photos, GPS coordinates, etc. I looked through the mobile objects listed on the uniGUI web site and did not see anything that led me to believe this was the case. IF not, are there other ways to get at this information while still using uniGUI?
  2. wsv01

    Menu dropdown in Chrome not working

    All you have to do is create a new uniGUI stand alone application, add a menu, then add a couple items to a sub menu then run it in Chrome.
  3. When I create a new project and add a menu to the main form, then launch the application, I get a dropdown menu that has up/down arrows instead of showing the menu items when using Chrome. If I select another menu choice, then go back to the one that was not displaying correctly, it now shows the proper sub-menu items. This does not occur in Edge. I have only tried to do this with Chrome and Edge. I am using uniGUI 1.50.0.1480 and creating the application in Delphi 10.2. There was another post in July that may have had the same issue, but no real solution. I have attached two images. One in Edge and one in Chrome.
  4. wsv01

    uniGUI trying to close window on start

    OK, after several days of trying to figure this out, I finally viewed my main form as text and there it was staring me in the face!!!!! Script.Strings = ( 'window.close();') I cannot for the life of me know why I placed that into the Java Script property on the main form, but as you can imagine, when it was removed, the application ran without the message appearing. I'll never forget this one!
  5. I'm still trying to figure out why uniGUI is trying to close the browser window on startup. I had time to run my application on three different browser. IE11, Edge and Chrome. On IE11 and Edge, a window appears With this message The site you're on is trying to close this window. Do you want to close this window? "Yes" or "No" buttons. IF I click Yes, the browser closes and if I click No, the application appears and runs as normal. I launched Chrome and ran debugging and found that the <script>...</script> after the header actually had a window.close() command. It looked like this: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Vendor Requistion</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=10.0, user-scalable=yes"> <meta http-equiv="content-type" content="charset=utf-8"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="expires" content="-1"> <link REL="SHORTCUT ICON" HREF="/cache/nas_vendreg_exe/87bL9D5OmE1027EDAB5/favicon.ico"> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-ext.css" /> <link rel=stylesheet href="/ext-6.5.3/build/classic/theme-classic/resources/theme-classic-all.css" /> <script src="/ext-6.5.3/build/ext-all.js"></script> <script src="/ext-6.5.3/build/classic/theme-classic/theme-classic.js"></script> <script src="/uni-1.50.0.1480/ext-unicommon-min.js"></script> <script src="/uni-1.50.0.1480/ext-sync-min.js"></script> <script src="/uni-1.50.0.1480/jQuery/jquery-1.11.2.min.js"></script> <link rel=stylesheet href="/ext-6.5.3/build/packages/font-awesome/resources/font-awesome-all.css" /> <link rel=stylesheet href="/ext-6.5.3/build/packages/font-pictos/resources/font-pictos-all.css" /> <script src="/uni-1.50.0.1480/jQuery/MaskedInput/jquery.inputmask.min.js"></script> <script src="/uni-1.50.0.1480/jQuery/autoNumeric/autoNumeric-1.9.35.js"></script> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-xtheme-common.css" /> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-xtheme-classic.css" /> <script src="/uni-1.50.0.1480/ext-unigui-min.js"></script> <style type="text/css">.x-viewport > .x-body {position:relative !important;}</style> <style type="text/css">body {overflow-y: hidden !important;}</style> </head> <script> window.close();;uniVars._extVer="6.5.3";_S_ID="_S_ID=87bL9D5OmE1027EDAB5";Ext.Ajax.setTimeout(1800000);uniSyncObj.errShow=true;uniSyncObj.errText="Connection Error";uniSyncObj.errRetryText="Retrying...";uniSyncObj.errTextColor="#0055AA";uniSyncObj.errAfterRetry=1;uniSyncObj.errLogTry=0x7ef4f2fa;uniSyncObj.licOwn="@@@@@@@@@@@@=";uniSyncObj.srcArr="XJoHutVO"; ... </script> <body> <div id="loading-mask"></div><div id="loading"><div class="loading-indicator">Loading...</div></div> <div id=body></div><noscript>This web application requires JavaScript enabled</noscript></body> </html> The debug text continues, but the rest is not causing issues. I then created a simple uniGUI standalone application with nothing but a button on the main form that ran showmessage('ok'). This time, looking at the debugger I got this: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>New Application</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=10.0, user-scalable=yes"> <meta http-equiv="content-type" content="charset=utf-8"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="expires" content="-1"> <link REL="SHORTCUT ICON" HREF="/cache/project1_exe/APLNDGAwn81027EE02C/favicon.ico"> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-ext.css" /> <link rel=stylesheet href="/ext-6.5.3/build/classic/theme-classic/resources/theme-classic-all.css" /> <script src="/ext-6.5.3/build/ext-all.js"></script> <script src="/ext-6.5.3/build/classic/theme-classic/theme-classic.js"></script> <script src="/uni-1.50.0.1480/ext-unicommon-min.js"></script> <script src="/uni-1.50.0.1480/ext-sync-min.js"></script> <script src="/uni-1.50.0.1480/jQuery/jquery-1.11.2.min.js"></script> <link rel=stylesheet href="/ext-6.5.3/build/packages/font-awesome/resources/font-awesome-all.css" /> <link rel=stylesheet href="/ext-6.5.3/build/packages/font-pictos/resources/font-pictos-all.css" /> <script src="/uni-1.50.0.1480/jQuery/MaskedInput/jquery.inputmask.min.js"></script> <script src="/uni-1.50.0.1480/jQuery/autoNumeric/autoNumeric-1.9.35.js"></script> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-xtheme-common.css" /> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-xtheme-classic.css" /> <script src="/uni-1.50.0.1480/ext-unigui-min.js"></script> <style type="text/css">.x-viewport > .x-body {position:relative !important;}</style> <style type="text/css">body {overflow-y: hidden !important;}</style> </head> <script> uniVars._extVer="6.5.3";_S_ID="_S_ID=APLNDGAwn81027EE02C";uniSyncObj.errShow=true;uniSyncObj.errText="Connection Error";uniSyncObj.errRetryText="Retrying...";uniSyncObj.errTextColor="#0055AA";uniSyncObj.errAfterRetry=1;uniSyncObj.errLogTry=0x7ef4f2fa;uniSyncObj.licOwn="@@@@@@@@@@@@=";uniSyncObj.srcArr="XJoHutVO"; ... </script> <body> <div id="loading-mask"></div><div id="loading"><div class="loading-indicator">Loading...</div></div> <div id=body></div><noscript>This web application requires JavaScript enabled</noscript></body> </html> Notice that there is no window.close() at the beginning of the script. I've tried stepping through the application and cannot find out where this window.close() is being executed from. Any help would be greatly welcome. Note: I don't know if the licOwn= value is something private to my license, so I just replaced it with @@@@@@@@@@@@
  6. wsv01

    Get the EXTJS build

    Sorry for the delay... I just uninstalled everything, restarted the server, moved my licensed standalone EXE to a folder and all ran as expected. Thanks for taking time to give me suggestions.
  7. wsv01

    Not a valid floating point value error on post

    So simple! Thanks so much!
  8. OK, so this is most likely not a uniGUI issue, but I do not seem to have this issue with a standard VCL application. I have a MSSQL database table with a money type column. I have a uniDBEdit control wired to that money column. I have a TFDStoredProc wired to the database table. In that TFDStoredProc I have a persistent field pointing to the money column in the TFDStoredProc. In that persistent field, I have a DisplayFormat of $###,###.00. When I enter a dollar amount in the field on the screen of say 25000.44, the display format takes over and shows $25,000.44. When I try to save the data, I get an error stating $25,000.44 is not a valid floating point value for field xxx. Of course this is because of the "$" and the "," in the display format. How do I get those out of there before the post actually takes place or what properties do I set to resolve this? For whatever reason, I do not seem to have this issue in standard VCL applications. I has to be something quite easy to fix because I cannot seem to find any relevant info about it on the web. I tried a whole bunch of things with no success.
  9. wsv01

    Data cursor moving to first row by itself

    It does not matter how many rows there are. In my own stupidity, I found the issue. On the form OnActivate event I called a procedure that opens the data set. When a form is simply dragged in any direction, it fires off the OnActivate event. Originally I thought it was something to do with the call back, but it really has to do with the form refreshing. I moved the procedure that opens the data set to the OnSHow event and all is well.
  10. wsv01

    Data cursor moving to first row by itself

    A quick update. I think this has something to do with the callback to the window I have the data in. If I simply drag the window a little in either direction, the cursor is refreshed and pointed to the 1st row. I know it's something I do not understand with a window refreshing while there is an open data set in a grid.
  11. I am having this specific problem when trying to remove a row of data from an open cursor. When using this type of syntax attached to a button: MessageDlg('Are you sure you want to delete this record? ', mtConfirmation, mbYesNo, RemoveDocCallback); Then running a callback procedure like this with no code or code in it, the data cursor moves to the 1st row of data by itself. procedure TfrmViewUploads.RemoveDocCallback(Sender: TComponent; Res: Integer); begin end; Let's say there are 3 rows of data in a uniDBGrid shown and I select the 2nd row, then click a button that asks a MessageDlg like above. When Yes is selected, the cursor will move to the 1st row of data by itself. I am using FireDac and connecting to a MSSQL database and pulling data into the cursor via a stored procedure call. If anyone can duplicate this or tell me what I an doing wrong, that would be great.
  12. I'll try on different browsers later today and let you know what I find.
  13. Hmmm. I tried resetting IE 11 and fooled with some security settings. I'll have to keep working on that. The encrypted string that is passing some startup parameters to the application. If they are not there, the app simply tells the user that they are not authorized to use the system and gives them no menu to select from.
  14. I just found out another interesting thing. If I launch the app using a shortcut with my link in the URL field, I run into the error. http://localhost:8081/?id=95CD5F65341F311-4C80-986C-CFV807EB0B3S4EE59AEDWD6E4-4CC6-935A-F312DF2A7945 If I open Chrome, then paste the link into the URL, the app launches as expected. When I try the same thing using IE 11, I still get the same message of The webpage you are viewing is trying to close the window. Do you want to close this window?
  15. This morning I added debugging to my application so "see" exactly the steps it was taking. When run on my dev box, all works to plan. When I deploy the application to a customer server, things are not the same. When launched in IE 11, this message appears. The webpage you are viewing is trying to close the window. Do you want to close this window? If I answer Yes, the browser quits. If I answer No, the application runs as intended. I then launched Chrome and ran the same application, but when launched, Chrome simply closed with no message at all. So I opened Chrome and turned on debugging. (Ctrl+Shit+J), then launched the uniGUI app. This time, the app loaded as expected, but there was a warning message in the debug window of Scripts may close only the windows that were opened by it. Expanding the debug window I saw the line that caused the error. I pasted the top part of the debug text below. I looked on the web for solutions, but could not find anything that helped. <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Vendor Requistion</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=10.0, user-scalable=yes"> <meta http-equiv="content-type" content="charset=utf-8"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="expires" content="-1"> <link REL="SHORTCUT ICON" HREF="/cache/nas_vendreg_exe/IvxbEVfxWr1026C8C0C/favicon.ico"> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-ext.css" /> <link rel=stylesheet href="/ext-6.5.3/build/classic/theme-classic/resources/theme-classic-all.css" /> <script src="/ext-6.5.3/build/ext-all.js"></script> <script src="/ext-6.5.3/build/classic/theme-classic/theme-classic.js"></script> <script src="/uni-1.50.0.1480/ext-unicommon-min.js"></script> <script src="/uni-1.50.0.1480/ext-sync-min.js"></script> <script src="/uni-1.50.0.1480/jQuery/jquery-1.11.2.min.js"></script> <link rel=stylesheet href="/ext-6.5.3/build/packages/font-awesome/resources/font-awesome-all.css" /> <link rel=stylesheet href="/ext-6.5.3/build/packages/font-pictos/resources/font-pictos-all.css" /> <script src="/uni-1.50.0.1480/jQuery/MaskedInput/jquery.inputmask.min.js"></script> <script src="/uni-1.50.0.1480/jQuery/autoNumeric/autoNumeric-1.9.35.js"></script> <script src="/uni-1.50.0.1480/ext-treenode-plugin.js"></script> <script src="/uni-1.50.0.1480/unicanvas-min.js"></script> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-xtheme-common.css" /> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-xtheme-classic.css" /> <script src="/uni-1.50.0.1480/ext-unigui-min.js"></script> <style type="text/css">.x-viewport > .x-body {position:relative !important;}</style> <style type="text/css">body {overflow-y: hidden !important;}</style> </head> <script> window.close();;uniVars._extVer="6.5.3";_S_ID="_S_ID=IvxbEVfxWr1026C8C0C";Ext.Ajax.setTimeout(90000);uniSyncObj.errShow=true;uniSyncObj.errText="Connection Error";uniSyncObj.errRetryText="Retrying...";uniSyncObj.errTextColor="#0055AA";uniSyncObj.errAfterRetry=1;uniSyncObj.errLogTry=0x7ef4f2fa;uniSyncObj.licOwn="cmBucTtyZGlvYF5jKGRpXileamg=";uniSyncObj.srcArr="XJoHutVO"; Ext.application({name:"uniApplication",launch: function(){setTimeout(function(){Ext.get("loading").remove();Ext.get("loading-mask").fadeOut({remove:true});},250);Ext.BLANK_IMAGE_URL="/ext-6.5.3/build/classic/theme-classic/resources/images/tree/s.gif"; Ext.BLANK_IMAGE_SRC="<img src="+Ext.BLANK_IMAGE_URL+">"; TextMetrics=new Ext.util.TextMetrics(Ext.getBody());
×