Jump to content
uniGUI Discussion Forums

Leaderboard


Popular Content

Showing content with the highest reputation since 10/20/18 in all areas

  1. 4 points
    Hi , Document Viewer: simple interface unigui to view OpenOffice + Pdf documents. See : http://viewerjs.org DocViewer.zip Good fun . Regards Salvatore Marullo
  2. 2 points
    Good News Marlon. As Delphi choosed "RIO" as alias this year, i think we will come soon to take a cup of coffee with Brasilian Unigueers I bring cakes. Best regards.
  3. 2 points
    Great ))) We can open museum here ))) But as for seriously, we could be any age, any technology stack, more important is the love of what you are doing and how. On any language we can do good and bad things, popularity will always be changable. Choose yours! When i started this topic, i tried to understand, should i continue with Delphi or switch to C#, as for now, i understand - both of them will always have their lovers) And i have projects on both as for now. Knowledge of different technologies enriches your skills as a programmer. For ex. i love mvc pattern from asp mvc and use it in my current projects, 'cause it gives clear transperent code... And of course, UniGUI, the best framework for Delphi and Farshad is the Genious of Delphi ))) Regards...
  4. 2 points
    Hi, Just to note that the "layout.rar" example from the message in this post does not run on the latest UniGUI and displays the message: "'field' config has been deprecated. Please use the 'angleField' config instead." It might be useful to update it and/or include it in the official demo if it's not already there (? I've not exhaustively looked at all the included demos, my apologies if it's actually already included!) Edit: The simple way to "fix" this is to edit ClientEvents.UniEvents and open Ext.chart.CartesianChart, then open chart.beforeInit and comment out the "config.axes" assignment in the code. (There's obviously a better way of fixing it but I didn't have the time or patience to work out what exactly has changed and how it should be updated. Changing "fields" to "angleField" or "angleFields" did not work and resulted in another error message.) Walter
  5. 1 point
    Hi, As default behavior of dbgrid is performing sorting in server side, but sometimes you fetch all data into grid (no paging) and the data is already in client, so why return to server to sort data !! Do the sort in client side: 1. Disable remoteSort (store): 2. Set 'click' event on column header and do sorting: Hope this will help you :-)
  6. 1 point
    Hi, As the title says, I converted a library that Mike Heydon made to export a DataSet to old format Excel file (xls) without OLE or Excel installed. This library now converts an UniDBGrid to Excel. Sample of usage. // Add uses UExportExcel procedure TMainForm.UniButton1Click(Sender: TObject); var url, filename, reportname : String; exportExcel: TDataSetToExcel; i: integer; begin reportname := 'ExcelReport'; url := UniServerModule.LocalCacheURL+name+'.xls'; filename := UniServerModule.NewCacheFileUrl(false, 'xls', reportname, '', url); exportExcel := TDataSetToExcel.Create(filename); exportExcel.Grid := UniDBGrid1; exportExcel.WriteFile; FreeAndNil(exportExcel); UniSession.SendFile(filename, reportname+'.xls'); end; Hope it helps everyone. UExportExcel.zip
  7. 1 point
    Ruslan, I have mobile apps made using Delphi in both stores, They work well and my clients love them. https://play.google.com/store/apps/details?id=com.ByteInMotion.BIMFacilities&hl=pt_PT https://play.google.com/store/apps/details?id=com.ByteInMotion.BIMCityHall&hl=pt_PT https://itunes.apple.com/br/app/bim-facilities/id955782758?mt=8
  8. 1 point
    I really liked the new IDE https://community.embarcadero.com/blogs/entry/new-in-10-3-ide-ui-improvements-in-the-main-window
  9. 1 point
  10. 1 point
  11. 1 point
    Maybe you wanted something like this: .x-grid-cell { vertical-align: middle; } .x-grid-cell-inner { line-height: 100%; }
  12. 1 point
    Maybe you should try this approach for now: 1. YourGrid.JSInterface.JSAssign('needToSelectAll', [True]); //<--------- liste.SQL.Clear; liste.SQL.Append('SELECT * FROM ANTEILE WHERE GUNST_INR = '+STRUKTUR1.FieldByName('INR').asstring+' ORDER BY VERTRAG_NR desc '); liste.Open; 2. YourGrid -> ClientEvents -> ExtEvents -> function store.load // or use the OnAfterLoad event of your Grid with some conditions function store.load(sender, records, successful, operation, eOpts) { if (sender.grid.needToSelectAll) { Ext.defer(function () { sender.grid.getSelectionModel().selectAll() }, 100); } }
  13. 1 point
    It seems the new Delphi 10.3 will has some new improvement on the language on compiler level, finally we will be able to define inline variables. very cool. More on post on G+
  14. 1 point
    First of all, please adjust your forum email address. http://forums.unigui.com/index.php?/topic/6291-new-users-please-adjust-your-forum-email-address/
  15. 1 point
    Hi, I've embedded a mobile project in an android app (android studio) using webview. Okay, just the uploadfile component does not work, the choose button does not respond. I have already put the permissions on the manifest, enabled the javascript in webView. Has anyone used or would know how to release the component? thank you
  16. 1 point
    Another example from the "All about..." series. This time, about Tips, Hints and CallOuts Three examples to put some fun in your programs. One example was collected from this very forum and others two from the HTML/Javascript World. Could not find the original post to give the credits and link... .sorry pal. Have fun... Projeto7-Callouts_Hint_Tips.rar
  17. 1 point
    Hi, there is some way to draw a glyphicon? function beforeInit(sender, config) { config.baseCls="btn"; config.cls="btn-danger"; config.cls="glyphicon glyphicon-search"; } Thanks.
  18. 1 point
    Merhaba, HTML ve CSS ile yapılabilecek işler uniGUI'den bağımsız olarak adeta sonsuz bir denizdir. Şimdi her özel HTML entegrasyonu isteği için örnek bir proje yapmamız pek gerçekci görünmüyor. Üstelik konuyu arefe günü açmışsınız araya da bayram tatili girmiş.
  19. 1 point
    Merhaba Ekteki dosya ile dener misiniz? Örnek olması açısından ilk butona bir "uniid" değer verip unu formun OnAjaxRequestinde geri alıyorum. Sizde buna göre diğer butonları şekillendirirsiniz. Main.zip
  20. 1 point
    Please show me how to set "Mobile UnimEdit: FieldLabel Color, EditText Color, EditText Background Color ?" EditUser.ClientEvents.UniEvents.Clear; s:= 'beforeInit=function beforeInit(sender, config)'#13#10+ '{'#13#10+ ' config.cls='#39'customLabel1'#39';'#13#10+ '}'; EditUser.ClientEvents.UniEvents.Add(s); CustomCSS.Add('.customLabel1 '); CustomCSS.Add('{ '); CustomCSS.Add(' color: red; '); // NO EFFECT CustomCSS.Add(' background-color: #A7D0FE; '); // WORKS CustomCSS.Add(' font-color: blue; '); // NO EFFECT CustomCSS.Add(' text-font-color: red; '); // NO EFFECT CustomCSS.Add(' text-background-color: yellow; '); // NO EFFECT CustomCSS.Add('} ');
  21. 1 point
    I don't know if it is the best practise. I do like this and i work with a copy of classic theme(blue) in directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\Css\ i copy uni-xtheme-uni_classic.css and rename to uni-xtheme-uni_MyTheme.css in directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources\Css create file ext-all-uni_MyTheme.css inside : @import '../ext-theme-uni_MyTheme/ext-theme-uni_MyTheme-all.css'; in directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources\Css create file ext-all-uni_MyTheme-rtl.css inside : @import '../ext-theme-uni_MyTheme/ext-theme-uni_MyTheme-all-rtl.css'; in directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources create a directory ext-theme-uni_MyTheme copy all file that are in directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources\ext-theme-uni_classic to directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources\ext-theme-uni_MyTheme In this directory rename file ext-theme-uni_classic-all.css to ext-theme-uni_MyTheme-all.css rename file ext-theme-uni_classic-all-rtl.css to ext-theme-uni_MyTheme-all-rtl.css After all this change there is new theme in delphi : uni_MyTheme you could do you modification in css file that are in C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources\ext-theme-uni_MyTheme and change image if needed.
  22. 1 point
    Based on this example I've put up a new customization, with several new features, and even with Floating Button, as soon as I can put more information and details
  23. 1 point
    I'm showing a variety of applications here, but primarily it's an application for real-time monitoring and control and management of large quantities of time-series data spread out over disparate locations. One of the frontend apps shown is specifically for greenhouse monitoring/control while some of the others are for industrial applications, e.g. SCADA and Energy Management. I'm also showing the administrative web application that allows a user to configure and manage their entire system online as well as create custom display or navigation screens (2D or 3D) for their facilities and attach live sensor values to their visual widgets via drag/drop which can change color, switch images etc. based on the real-time value of the sensor attached to it. The mobile app is just a limited version of the desktop web app. I truly don't think any of this would have been possible without UniGUI as it allowed me to port a set of very complex frontend VCL/OpenGL apps to a browser implementation fairly quickly while maintaining the use of all of my backend code. You have done magnificent work there and for that I thank you very much!!!
  24. 1 point
  25. 1 point
    Only solution is to write an event handler in JS. function Onclick(sender) { // do your stuff first // open the link }
×