Jump to content

Fujio

uniGUI Subscriber
  • Posts

    20
  • Joined

  • Last visited

Recent Profile Visitors

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

Fujio's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Hello. How do I get the log file that the Apache Module of uniGUI produces? On Windows, there is a folder for each module under C:\Program Files\Apache Software Foundation\Apache24\modules\log, and the log file is under that folder, but it does not seem to appear on CentOS7. There is only one line in the log file in /etc/httpd/logs/error_log that reads [Fri Apr 01 08:57:06.545896 2022] [core:notice] [pid 24622:tid 139919442851968] AH00052: child pid 30661 exit signal Segmentation fault (11) Fujio
  2. Hello. I am currently trying to create an Apache module with uniGUI on CentOS7. The connection and display process from uniGUI App(on CentOS7) to MS SQLServer using FireDAC worked fine. I want to switch this connection to SQLServer to DataSnap REST Server (running on Windows). When I create the DataSnap REST Server as a VCL app(on Windows) and call the function of ReverseString from uniGUI on CentOS7, I get Invalid session or session Timeout. If I create a GUI app for a multi-device application and run it on CentOS7, ReverseString works fine. Delphi11.1 uniGUI1.90.0.1559 Please give me some advice. Fujio
  3. Hello, >This is not what you wanted, but a close solution for your case: I overlooked this. I'll see if I can't get it to be upper left somehow.
  4. Thank you. I tried it, but the cells with Row=50 and Col=50 are displayed in the upper right corner, not the upper left. I wrote the following code, and immediately after execution it is 1.png and after pressing the button it is 2.png. procedure TMainForm.UniButton2Click(Sender: TObject); begin UniStringGrid1.Row:=50; UniStringGrid1.Col:=50; UniStringGrid1.JSInterface.JSCode('Ext.select("#"+'#1'.id+" .x-grid-cell-selected").elements[0].scrollIntoView();') end; procedure TMainForm.UniFormCreate(Sender: TObject); var i,j:Integer; begin for i := 0 to 99 do begin UniStringGrid1.Columns[i].Title.Caption:=IntToStr(i); for j := 0 to 99 do begin UniStringGrid1.Cells[j,i]:=IntToStr(j)+','+IntToStr(i); end; end; end;
  5. In a TUniStringGrid with a 100x100 cell and a display area of 10x10, how can I display the cell with Row=50 and Col=50 in the upper left corner when I press the button?
  6. If I just create a new standalone application with Mobile Application Wizard, run it, and then view it in Chrome for iOS, it does not work correctly when I rotate the iPad. When I refresh the view, it shows up correctly, but when I rotate it, it goes wrong again. Is this a problem on Chrome's side? However, when I access general sites in Chrome, I don't experience any problems with rotation. The version of Chrome for iOS is 87.0.4280.163. The version of uniGUI is 1.90.0.1547. 2021-04-28_11-31-01_000.mp4
  7. Thank you very much. Approximately when do I expect to get that fixed?
  8. Self.JSInterface.JSCode('window.open('''+AUrl+''');'); In this way, I have to turn off the pop-up blocker in Safari on my iPad. Do you guys have any other good ideas?
  9. I created three projects that are exactly the same except for the source code of the projects: Standalone Server, IIS Module, and Apache Module. I just placed one UnimLabel1 in TMainmForm and wrote the following code in the OnCreate event of the Form. UnimLabel1.Caption:=UniSession.RemoteIP; When I checked the behavior, the Standalone Server and IIS Module correctly display the IP address of the PC running the browser, However, nothing is displayed for Apache Module. Is this a bug?, or is there a way to get the correct IP address for Apache Module?
  10. After some trial and error, I found that Self.JSInterface.JSCode('window.open('''+AUrl+''');'); It seems to have worked. Thank you very much.
  11. I was able to achieve what I wanted by using the methods you taught me. Thank you very much.
  12. In Mobile Application, use UniSession.BrowserWindow(AUrl,0,0,'new'); In the case of Chrome on PC, it will open a new window instead of a new tab. In the case of Safari on iPad, if I have pop-up blocking turned on, it will not respond at all. For example, if the caption of TUnimLabel is set to UnimLabel1.Caption:='<a href=/a.pdf target=new>a.pdf</a>'; and click on the link at runtime, a new tab will open and display correctly in both Chrome on the PC and Safari on the iPad. Is it possible to achieve the latter result with UniSession.BrowserWindow? Even if it's not UniSession.BrowserWindow, it's good if the OnClick event of the button gives the same result as when the link is clicked.
  13. If I change the ShowTitle of TMainmForm, which is a form of MobileApplication, it will be reflected in the form if I change it at design time. At runtime, button events, etc. Self.ShowTitle:=False; It won't go away this way. I want to set it to True or False to make it appear or disappear. If that is not possible, is it possible to make the Title height even lower?
  14. Am I misunderstanding something? I'm thinking that in TUnimEdit, an image that looks like an 'x' (correct.png) will automatically appear in TUnimEdit, and if for some reason the image doesn't appear automatically, it will look like an 'x' in a square (error.png).
×
×
  • Create New...