lema
uniGUI Subscriber-
Posts
405 -
Joined
-
Last visited
-
Days Won
21
Content Type
Profiles
Forums
Events
Everything posted by lema
-
Hi. I followed the wizard on: http://www.unigui.com/doc/online_help/index.html?iis_7_0.htm When I tried to change the 'Regular Time Interval' to 0 (Application Pool's Advanced settings dialog), I got the following message: The 'Idle Time-out (minutes)' property of the application pool's process model must be less than the 'Regular Time Interval (minutes)' property of the application pool's period restart. By default the property values are: 'Idle Time-out (minutes)' = 5 'Regular Time Interval (minutes)' = 1740 I am deploying an Isapi dll on IIS 7.5 / Windows Server 2008 R2. My application is working , but I wonder what is the best way to create the Application Pool.. TIA, Lefteris. ----EDIT---- This is bug in the IIS configuration utility. I changed the value with the following: c:\Windows\SysWOW64\inetsrv\appcmd.exe set config -section:system.applicationHost/applicationPools /[name=myPool].recycling.periodicRestart.time:"00:00:00" /commit:apphost
-
Wishing you a year of health, happiness and peace. May the new year bring the best to you and all your dear ones. Happy $7DC !
-
Hi to all. How can I get into a Delphi variable the result of a JavaScript function like getTimezoneOffset() ? I can successfully execute the following and get the result on caption of UniLabel1 UniSession.AddJS( 'var d = new Date(); ' + 'var _offset = (d.getTimezoneOffset() / 60 ) * -1; ' + 'TestForm.UniLabel1.setText(_offset); ' ); Regards.
-
No problem here. Tested with: Firefox 7.0.1 Chrome 15.0.874.102 IE 9.0.8112.16421
-
Yes , it has a bug. If you click repeatedly , the message will be shown forever. That happens on the owner's site also.
-
Survey: Features you want to see in version 1.0
lema replied to Farshad Mohajeri's topic in Feature Requests
A chart with more options. -
Thank you patmap.
-
-
As title says, which is proper way to execute a Javascript command from Delphi? UniSession.SendResponse() or UniSession.AddJS()
-
None of the Delphi ways to focus a component works. I also tried without any success the following javascript snippets. MainForm.UniDBGrid1.focus(); document.getElementById("some_id").focus();
-
Hi, I face a strange behavior when a modal form (form1) shows a non-modal form (form2). The form2 is in front of form1 as should be , but if user clicks on form1 , the form2 goes behind form1 and nothing can get it back. Actually , I don't know if it is a bug or its the nature of web programming, but with that situation we cant show non-modal forms from modal ones. I attached a test project to demonstrate the "problem". temp.ZIP
-
Really , what is the appropriate way to avoid SQL Injection attacks? Can you please show a fast guide of things we should and should not do during web programming?
-
Hi, I have the same exception here. Delphi 2010 with 0.86.0.889. "Error reading UniTreeView1.Items.FontData: List index out of bounds (0)." The problem occurs when close and re-open Delphi IDE . Please note that when Delphi IDE re-opens and shows by default the form with treeview, everything works OK! test.zip
-
Hi patmap, I have problem in using the function RemoveMarkers. It doesn't seem to work for me. I am using 0.86.0.889 and testing on your demo "OneMap". Also , is there any way to clear Lines and polygons? Regards, Lefteris.
-
Hi Farshad, thanks for the reply. Actually , I am trying to put the glyphs and captions of these buttons , aligned in vertical. The task is to make something that looks like a VCL TToolBar when TToolBar.List:=True; Is it possible by any way? TIA, Lefteris.
-
Hi , I am trying to set the alignment of glyphs to left, without any success. I cant find any property and the following code doesnt seem to work. caption:= '<img src="files/edit.bmp" style="float:left"/> Edit' caption:= '<img src="files/edit.bmp" align="left"/> Edit' TIA, Lefteris.
-
Hi, See the MainModule.Theme property.
-
Great ! It is working fine now. Thank you again.
-
Hi, The problem is in the conversion from Float to String. You must take aware that in some countries (including mine) the DecimalSeparator is ',' so every FloatToStr results something like '35,737177' which is a wrong coordinate format. I can solve it , writing something like that: procedure TUniGoogleMap.PanTo(Lat, Lng: Double); var ASaveSeparator: Char; begin ASaveSeparator := DecimalSeparator; DecimalSeparator := '.'; try if not (csDesigning in ComponentState) then UniSession.AddJS(MapName + '.panTo(' + FloatToStr(Lat) + ', ' + FloatToStr(Lng) + ');'); finally DecimalSeparator := ASaveSeparator; end; end; Regards, Lema.
-
Hi patmap. Thank you for the UniGoogleMap component. I succefully installed into D2010 and run the 3 demos. No problem at all , except the functions DrawLine and DrawPolygon at DrawLine demo. The DrawLine demo runs , I can see the map and I can add a marker. However , when try to execute the DrawLine or DrawPolygon function , I only get a blank map. TIA, Lema.