Jump to content

AMIT

uniGUI Subscriber
  • Posts

    142
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by AMIT

  1. I wonder how ClientEvent and Component Event, such as Onclick, work. I have to write ClientEvent in JAVA and Component Event in Pascal. ClientEvent Fire first or Component Event?
  2. I would like to know if it is possible to write Code to Open new browser windows in UniButton Onclick event
  3. This isn't uniGUI problem. You have to config your web server for the default document. In Apache, look into httpd.conf <IfModule dir_module> DirectoryIndex YourDLL.dll index.php index.html index.htm </IfModule> Please See more info from Apache and/or IIS Help.
  4. Thank you for your reply.
  5. 1. Unit of SessionTimeout is in millisecond. If I put zero, does it mean no timeout? 2. When SessionTimeout, Can I override the default message and redirect to the login page? Invalid session or session Timeout. Restart application
  6. Thank you for the explanantion.
  7. I wonder while debugging the the URLRef is Empty. But on the browser the UniLabel1.Caption display 'MYPDF.PDF'. when I position mouse pointer on unilabel, the correct link ('http://localhost:8077/MYPDF.PDF') shown on the status bar. If I click on the link new window open and show MYPDF.PDF correctly. I don't understand while debugging the URLRef is empty. Anybody can tell me why? Thank in advance.
  8. Thank you. By the way, I try to use per your suggestion but I get empty string instead. var URLRef: string; begin . . URLref:=uniApplication.UniSession.URLPath+'MYPDF.PDF'; uniLabel1.Caption:='<a href="'+URLRef+'" target=_blank>'+URLRef+'</a>';
  9. Is there any method that I can get the Server URL? For example, my site url is 'http://Localhost:8077', I need to know if there is a method that return result to me as 'http://Localhost:8077'; Thank in advance.
  10. Please give me some suggestion how to download file that the server just generate after button click. I have a unidbgrid displaying the data that users selected from their desired criteria. I need to have one button for them to download this data after they click on it. This file will be generated at the server after the users click on the button. The file may be Text, XLS or whatever format (this I can do it on the server). After it was generated it should be automatically send back to user by letting them select the folder to store the file (this I need suggestion). Anyway, Thank in advance for any suggestions that may have.
  11. What is the different between putting in ServerModule CustomFiles and MainForm Script?
  12. How to check what Client's screen size during create the mainform? For example if the client access to the web from mobile phone so we can create the proper screen for them.
  13. I can use Afterscroll event if I placed it on the uniForm. I had move the clientdataset and datasource from MainModule to uniForm, it work OK.
  14. If I use arrow key to change the selected record what should I do. I try to use Afterscroll event of the clientdataset which was in the MainModule but I can't success.
  15. I wonder how can I get the data from the row when it was clicked or selected row changed. Do I have to make code in ClientEvents (ExtEvents, UniEvents)? Please, if you can give me a sample code. Thank in advance.
  16. I have no URL. I test it on my PC with VMWare. Now I found the problem. On the MainForm I have uniHTMLFrame. Oncreate Form event I put this code uniHTMLFrame1.HTML.LoadFromFile(uniServerModule.StartPath+'\News\2.htm'); if I remove this code, IE can display the page. 2.htm file was created from MSWord 2010 (45 pages) and save it as htm. I don't understand why Firefox, Chrome can display the webpage but not IE.
  17. Is uniGUI capable to include Flash Object?
  18. I think it is better to let you have the picture of the output that I have so you can understand my problem easily. Please see the pictures attached.
  19. I create a test WebApplication and Set MainFormDisplayMode to mfWindow. I also set the position property of the MainForm to poDesktopCenter in order to make my MainForm Display in the center. If the browser windows size is bigger than my MainForm, every thing is look perfect. If the browser windows size is smaller than my MainForm, the top part of my MainForm is hidden because it lay outside the browser windows area. The problem is I can not drag my MainForm back to the browser window. Even there is a vertical scrollbar but the slider of the scrollbar is at the top already. So is it possible to have the MainForm displayed at the horizontal center only. Hope somebody can help, Thank in advance.
  20. WebServer - Win7 x86 + Apache 2.2 Developing PC - Win7 x64 + Delphi XE + uniGUI 0.86.0.885 Client PC - WinXP + IE8 or Win7 x64 + IE8
  21. Nothing return from IE, just waiting and waiting... IE Tab label has already been changed to what I had defined and it has a Loading... symbol on the center of the browser.
  22. I had created the web application (ISAPI mode) and deploy it on Apache Web server. At client side, I use Firefox, google Chrome to access the application without problem except IE it can not access. I think it should not the problem on my web application but configuring on IE may cause the problem. Any idea about this situation.
×
×
  • Create New...