Jump to content

erich.wanker

uniGUI Subscriber
  • Posts

    867
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by erich.wanker

  1. Hello, i made a little Testcase ... OnShow - i want to slideIn a UniForm OnClose - i want to slideOut a UniForm The MainForm should not show any Scrollbars and should not move the content.. ..the "OnClose" doesnt work correctly .. it should close the UniForm if the "animate"-Function is finally finished - but my javascript-knowledge is tiny ... ;-) ThanX for suggestions Erich test.zip
  2. Hello, how can i disable the scroll-function of mainform... A simple " {overflow-x: hidden !important;}" hides the scrollbar - BUT the form still scrolls the content ... Example: MainformDisplayMode = mfPage; one unibutton1 on Mainform .. if i click the button -> uniForm1.showmodal; the UniForm has a left-Value of 3000; .. so the button of mainform is not visible - because the mainform-area scrolles 3000 pixels to the right- to show the UniForm1. i want to create the UniForm1 in a not visible area and the Mainform should be as it is .. without scrollbars and without move his content ... And suggestions? ThanX
  3. Hello :-) i found a small solution: function window.beforeclose(panel, eOpts) { panel.animate({ duration: 300, to: { x:-1000, opacity: 0} }); } function window.beforeshow(sender, eOpts) { sender.animate({ duration: 0, to: { x:2000, opacity: 0} }); sender.animate({ duration: 300, to: { x:200, opacity: 100} }); } Now i have additional questions: in function "window.beforeshow" : How can i set the first value of "x" to Mainform.width + 100 ... so the form is out of the browser-area How can i set the second value of "x" to trunc( (Mainform.width/2) - (the form.width/2) ) ... so the form is in the middle of the screen AND... ..is it possible to add this "Slide in / Slide out" - Effect to a message Dialog ? .. would be cool ;-) ThanX for suggestions
  4. Hello folks ... i am searching a solution (i think javascript is the right way - but not my strength) for following situation: if a uniForm is shown (Or Create) - it should be created on -> main.width + newform. width when - it schould animate to -> trunc (main.width / 2) - ( newform. width / 2 ) and uniForm before close - it should animate to negative value of newform.width .. and if it reaches the position - it should close .. in small words: onShow or OnCreate - it slides in from right to middle of the screen onBeforeClose - it slided out and close itselfe Can someone please help me :-) ... ThanX Erich
  5. Hello, i want to close the old Session - if the same username starts a new Session Any ideas how i can do this? - one user should not be able to start the Software unlimited in his company - every user should buy a licence ;-) Any Ideas?
  6. OK.. it works ... i changed "localhost" to the right domainname in VHost-Config-file ... :-)
  7. Hello folks... i want to test my unigui.dll with namebased (i have just 1 IP-Adress) subdomains on Apache Apache/2.4.3 (Win32) PHP/5.4.7 I want 2 folders : c:/VersatileServer/htdocs/customer1/ .. here i store UniGui.Dll / ext-4.2.1.883 Folder / uni-folder / log / cache / temp.. c:/VersatileServer/htdocs/customer2/ .. here i store UniGui.Dll / ext-4.2.1.883 Folder / uni-folder / log / cache / temp.. what must i change in "httpd.conf" and in "httpd-vhosts.conf" to start the different uniGui.dll ? www.customer1.domain.com www.customer2.domain.com My httpd.conf-File: ServerRoot "C:/VersatileServer/apache" Listen 80 LoadModule access_compat_module modules/mod_access_compat.so LoadModule actions_module modules/mod_actions.so LoadModule alias_module modules/mod_alias.so LoadModule allowmethods_module modules/mod_allowmethods.so LoadModule asis_module modules/mod_asis.so LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule authn_core_module modules/mod_authn_core.so LoadModule authn_file_module modules/mod_authn_file.so LoadModule authz_core_module modules/mod_authz_core.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule cgi_module modules/mod_cgi.so LoadModule dav_lock_module modules/mod_dav_lock.so # LoadModule deflate_module modules/mod_deflate.so LoadModule dir_module modules/mod_dir.so LoadModule env_module modules/mod_env.so LoadModule headers_module modules/mod_headers.so LoadModule include_module modules/mod_include.so LoadModule info_module modules/mod_info.so LoadModule isapi_module modules/mod_isapi.so LoadModule log_config_module modules/mod_log_config.so LoadModule cache_disk_module modules/mod_cache_disk.so LoadModule mime_module modules/mod_mime.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule setenvif_module modules/mod_setenvif.so # LoadModule ssl_module modules/mod_ssl.so LoadModule status_module modules/mod_status.so <IfModule !mpm_netware_module> <IfModule !mpm_winnt_module> User daemon Group daemon </IfModule> </IfModule> ServerAdmin my@mail.adress ServerName localhost:80 DocumentRoot "C:/VersatileServer/htdocs" <Directory "/VersatileServer/htdocs"> Options ExecCGI # Options FollowSymLinks # AllowOverride All AllowOverride None Order allow,deny Deny from all Require all granted </Directory> AcceptFilter http none <Directory "C:/VersatileServer/htdocs"> Options Indexes FollowSymLinks Includes ExecCGI Order allow,deny Allow from all </Directory> <IfModule dir_module> DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \ default.php default.pl default.cgi default.asp default.shtml default.html default.htm \ home.php home.pl home.cgi home.asp home.shtml home.html home.htm </IfModule> <Files ".ht*"> Require all denied </Files> ErrorLog "logs/error.log" LogLevel warn <IfModule log_config_module> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common <IfModule logio_module> # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio </IfModule> CustomLog "logs/access.log" combined </IfModule> <IfModule alias_module> ScriptAlias /cgi-bin/ "C:/VersatileServer/cgi-bin/" </IfModule> <IfModule cgid_module> </IfModule> <Directory "C:/VersatileServer/cgi-bin"> AllowOverride None Options None Require all granted </Directory> <IfModule mime_module> TypesConfig "conf/mime.types" AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddHandler cgi-script .cgi .pl .asp AddHandler isapi-handler .dll AddType text/html .shtml AddOutputFilter INCLUDES .shtml </IfModule> <IfModule mime_magic_module> MIMEMagicFile "conf/magic" </IfModule> Include "conf/extra/httpd-xampp.conf" Include "conf/extra/httpd-mpm.conf" Include "conf/extra/httpd-multilang-errordoc.conf" Include "conf/extra/httpd-autoindex.conf" Include "conf/extra/httpd-languages.conf" Include "conf/extra/httpd-userdir.conf" Include "conf/extra/httpd-info.conf" Include "conf/extra/httpd-vhosts.conf" Include "conf/extra/httpd-proxy.conf" Include "conf/extra/httpd-default.conf" Include "conf/extra/httpd-ssl.conf" <IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed connect builtin </IfModule> <IfModule mod_proxy.c> <IfModule mod_proxy_ajp.c> Include "conf/extra/httpd-ajp.conf" </IfModule> </IfModule> My NOT WORKING vhost-config: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "C:/VersatileServer/htdocs/customer1" ServerName customer1.localhost ServerAlias www.customer1.localhost ErrorLog "logs/customer1.localhost-error.log" CustomLog "logs/customer1.localhost-access.log" combined </VirtualHost> <VirtualHost *:80> DocumentRoot "C:/VersatileServer/htdocs/customer2" ServerName customer2.localhost ServerAlias www.customer2.localhost ErrorLog "logs/customer2.localhost-error.log" CustomLog "logs/customer2.localhost-access.log" combined </VirtualHost> Thanx for suggestions and nice greetings from AUSTRIA :-)
  8. i would like a UniTextpanel ... with "Lines" like memofield .. just to display text ... with autoscroll and so on ..
  9. i would like to have a "Class Name" Field in ObjectInspector ...
  10. Hello mierlp, i tested it .. and i can not reproduce your problem .... Win 8.1 / 32bit / IE11 / german OS
  11. Hello Farshad, sorry - i explaned it not correct ... i want to move (drag) the window with mouse ... the area of the form should be "dragable" .. because i disabled the title .. Thanx for suggestions Erich
  12. Hello, how can i move a UniForm which has no titlebar (BordeIcons [], BorderStyle:=bsNone) Thanx fro Suggestions Erich
  13. Hello folks, how can i find the JSName of a Form? i want to animate a form ... if the form is created - it should animate from mainform.width + 300 to screencenter and if it will close - it should animate to -300 i would use someting like: UniSession.AddJS(login. the JSName + '.animate({ duration: 500, to: { x: '+screencenter+', opacity: 100}});'); Thanks for sugestions
  14. Hello DelphiDeveloper, no, i didn´t found a solution...
  15. Hello Farshad yes ... is where a change for this problem in the actual version ?
  16. ... now i stop the "old" animation and start the new in a "try" the Network/HandleEvent/Response-Code taken with Chrome-Dev-Tools: try{O506.stopAll()}catch(e){}; try{O422.animate({ duration: 200, to: { x:1380, opacity: 0}}) }catch(e){}; but didnt solve my problem :-( if i "free" the uniframe with the panel (what i want to animate) .. and the animation is still running - the "extjs.animate function" is not responsing anymore .. ThanX for suggestions
  17. Hello folks .. i use "animate" to show detail-information of database records.. if the user clicks on a menupoint or on a database-record - i load a uniFrame and show panels per: Show panel : UniSession.AddJS(sliderpanel.JSName + '.animate({ duration: 200, to: { x:'+inttostr(x)+', opacity: 100}});'); Hide panel: UniSession.AddJS(sliderpanel.JSName + '.animate({ duration: 200, to: { x:'+inttostr(x)+', opacity: 0}});'); if a menupoint will be clicked - first of all i call: if mainform.aktuelles_anipanel <> '' then UniSession.AddJS(mainform.aktuelles_anipanel + '.stopAnimation();'); Works fine .. BUT if i click in a faster intervall - the extjs.animate-function doesnt response anymore .. i must restart my uniGui-Application.. i think, if i click on a menupoint - the uniframe will be destroyed and a other uniframe is loaded - the extjs.animate-funkction will lost the panel ... i made a small captured video .. in the beginning i click "normal" .. at the end i click a litte bit faster .. and the "animate"-function crashed .. Please have a look at: http://wavi.at/unigui/unigui.html What can i do? ... any ideas? ThanX Erich
  18. Hello folks, short Question: in Chrome 37 / Developer Tools / Console - i get: Resource interpreted as Image but transferred with MIME type image/x-png: "http://www.domain.suffix/unigui.dll/cache/applicationname/__BE212F51FA19F479B83B3C04.png". in ext-all.js:38 what can i do? ThanX for suggestion Erich
  19. Hello .. i had a look at the Google Maps demo ..and i changed the Panel for the map to Align=alClient ... Question: the"map-size" does not fit the panel if i resize the browser - the map is not using the full panel size Any Suggestion? Thanx
  20. Thanks to choo and Delphi Developer for Infos .. and thanks Farshad for moving in "Feature Request" :-) Erich
  21. ..but i want to show JUST InternetExplorer-users a message (see my first posting..) ... ?
  22. Hello choo .. the code: var C : TUniClientInfoRec; begin label_ra.Caption:=UniApplication.RemoteAddress; C:=UniApplication.ClientInfoRec; label_bt.Caption:=C.BrowserType; label_bv.Caption:=IntToStr(C.BrowserVersion); label_os.Caption:=C.OSType; interpretes my InternetExplorer 11 as: gecko 0 windows 80.122..... ? Thanx for suggestions
  23. Is it possible to add Timestamp to all Ajax-calls - so the InternetExplorer doesn´t cache the Ajax-calls ? In JQuery - there is a way like: $.ajaxSetup({ cache: false }); It makes jquery add a timestamp to all ajaxcalls Thanx for helping... Background: i have random problems just in IE - not in Firefox, Chrome or Opera ... and google says this is a problem with Microsoft IE: --> https://www.google.at/webhp?q=ie%20ajax%20problem#q=ie+ajax+problem
  24. Hello folks, how can i show just InternetExplorer-Users (Version 6 7 8 9 10 11 ) a messagebox ? Message would be like: "Use Chrome, Firefox or Opera..) ThanX Erich
×
×
  • Create New...