Jump to content

ibandyop

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by ibandyop

  1. I really need SelectedRows. I cannot use UniGui without SelectedRows feature ( i.e. multiselection of rows in a grid ) I see others were asking for it also. http://forums.unigui.com/index.php?/topic/1871-multi-select-in-listbox-and-grids/?hl=selectedrows http://forums.unigui.com/index.php?app=core&module=search&do=search&fromMainBar=1 Can you increase priority please, please. Issue #481
  2. ibandyop

    Themes

    Extra: Please note it is for older version. GUIDE: http://docs.sencha.com/ext-js/4-1/#!/guide/theming URL : http://extbuilder.dynalias.com/springapp/mainpage.htm Docs: http://www.sencha.com/forum/showthread.php?79679-Simple-on-line-Theme-builder-for-ExtJS-3.0.0
  3. ibandyop

    Themes

    There are some fixes here., but it is not complete http://www.sencha.com/forum/showthread.php?140124-Slate-Theme-for-4.0/page2
  4. Try: http://www.raspberrypi.org/wp-content/uploads/2012/02/RPiWerbung3.png press [seturl] then press [encode] button Try: http://aj.gs/2Y.png press [seturl] then press [encode] button Thank you., it works well
  5. zilav and Farshad. Good points. Also I think if the data moves with the user and not the pc . Perhaps save the data with loginname.txt , even include session like Farshad has said if needed.
  6. K0de, Change To @Anders - very nice explanation
  7. When using TUniFileUpload Create your own folder do not use UniGui.LocalFilePath, ie. DestFolder:=UniServerModule.StartPath+'UploadFolder\'; Copy file to UploadFolder from UploadComplete to CopyFile(PChar(AStream.FileName), PChar(DestName), False); Please change direction of slashes from \ to / and use HTTP url format and read http://{url}/Uploadfolder/FName . url should be manually defined to allow domain name in future etc.
  8. Can you explain what you want to achieve. I do not understand you question. Also I should explain setfocus of a Cell in delphi needs EM_SETSEL window message to change to editbox that message is not available in a web browser and other operating systems. I do not know exact solution for you. But if you want focus where you mouse pointer is, you need scripting. Please read document Farshad has described below http://www.unigui.com/wpblog/2011/07/29/client-side-scripting-with-unigui/ and see example ClientEvents in http://prime.fmsoft.net/demo/ucdemo.dll
  9. ibandyop

    SQL Injection

    Use Params to pass user input values to your database., like this qry.SQL.Text := 'update users set name=:name where uid=:uid'; qry.Prepare; qry.ParamByName( 'name' ).AsString := Sanitize(edname.txt); qry.ParamByName( 'uid' ).AsInteger := uid; // not user input qry.ExecSQL; Sanitize depends on database., If using Zeos with Mysql you can use mysql_real_escape_string() in ZPlainMySqlDriver.pas Unfortunately there is no quick solution www.symantec.com/connect/articles/detection-sql-injection-and-cross-site-scripting-attacks 25yearsofprogramming.com/blog/2011/20110205.htm st-curriculum.oracle.com/tutorial/SQLInjection/index.htm msdn.microsoft.com/en-us/library/ms161953(loband).aspx
  10. I think this depends on your theme. You should find the css file and look at x-grid3-row
  11. ibandyop

    Use Keyboard?

    See http://prime.fmsoft.net/demo/ucdemo.dll Example KeyEvents section KeyUp
  12. Yes, each instance should have a different port. i.e., change UniServerModule.Port for each instance by keeping track of last instance in .ini file or checking if port is available.
  13. We use Xampp on windows XP and Windows 2008 with over 50 users with no problem. Win7 should be fine. In httpd.conf I reduced the default ThreadsPerChild 250 to ThreadsPerChild 50 to reduce memory. I notice before service packs are installed the system gets sluggish. a.) You can avoid installing service packs - may not be recommended in your environment b.) Reboot your system once a month after "patch tuesday" after installing service packs c.) Use a RAM fragmentation utility (have not tried) Since your using Win7 I am assuming you have a strong CPU and lots of RAM which are more important than the OS. If your not using odbc32 with PHP., ReactOS has worked fast and reliably for me with Xampp on another low CPU powered system used in production.
  14. I have not done this., but if I was to try., I would look at the the Demo Called "Basic jQuery" and adapt the instructions from here: http://www.sencha.com/forum/showthread.php?17423-2.0-A.1-FCKeditor-Form-Field-Extention That brings up another question., that needs investigation. How easy would it be to use the Sencha plugins described here. http://www.sencha.com/learn/extensions-and-themes Because they have TinyMCE editor., and if it is just drop it in and use., that would be awesome. Sorry to hijack your thread. If you do not mind please post your progress and what worked so we can improve the UniGui roadmap. Thanks
  15. Difficult to answer this question because its unclear what you want. I use UniScreenMask with UniStatusBar. If bandwidth/connection is an issue you should not assume you can communicate with server showing progress. In this case.Display your own modal dialog and close it when process is completed.
  16. I have not done this yet using UniGui. Usually I do this kind of changes for php sites using .htaccess rewrite rules.
  17. GExperts has a Replace Component Wizard
  18. Your question is too broad., Here is a broad answer. A lot depends on what you want to do. A lot depends on your technical ability as well. UniGui uses ExtJS and Delphi so the capability of both come to your benefit. You already know some components do not play together, same here. Some smart people like Farshad and Patmap have extended the features with JQuery and GoogleMaps so a lot more is possible than comes in the box.
  19. Apache appears fine. Suspect ExtRoot is not set. Have you changed RootServer ? See: http://www.unigui.com/doc/online_help/adjusting_paths.htm 1. copy the full folder from where you installed just to make sure \FMSoft\Framework\uniGUI., I keep my folder outside and set ExtRoot to '..\ext-3.3.0' 2. If your running on the same computer as compiling what happens when it is ExtRoot [Ext] 3. You could compile as Executable into same location and use Windows to debug/verify paths etc.
  20. Browsers do not display .pdf files. Except for Chrome all of them need a plugin to 'display' the pdf. I think the correct way to handle this is to Generate the pdf and save it to RvSystem1.OutputFileName := UniServerModule.LocalCachePath+ rptfile +'.pdf'; And display a properly formatted URL/l to the generated PDF like <a href="http://path/to/pdf"> Download PDF</a> in your UniURLFrame or even a TUniLabel.
  21. I am not an expert but I think you can look at ClientEvents Property. These are JavaScript events that do not come back to the server ( your application ) for processing. ClientEvents | ExtEvents | OnClick
  22. See Example ClientInfo_2006_2007.dpr No browser can get client side registry key., unless you send a hack for them to download an executable and run it then upload the key. But I could be wrong.
  23. 1. Charting Component not based on TeeChart VCL because I cannot figure out version used. I went back to original standard TeeChart and still cannot compile against UniGui. ( Maybe base is off JEDI JVCL JvChartDemo.dpr using TJvChart ) 2. Standard InputBox and/or InputQuery 3. Hooks to touchpad (Is Sencha Touch required?) 4. UniGui components that are compatible between current ExtJS 3x and ExtJS 4x . I realize it is a very big move from version 3 to 4 and can forsee big changes in Unigui VCL. 5. SSL feature (for login etc) 6. Accordion Control http://examples.extjs.eu/gridinacc.html => JvItemsPanel ( JvPanelsU.pas in JVCLMegaDemo demo and JvNavigationPane ) Farshad, Unigui is a brilliant piece of work. Thank you for sharing it with us.
×
×
  • Create New...