Jump to content
uniGUI Discussion Forums

Leaderboard


Popular Content

Showing content with the highest reputation since 09/19/18 in Posts

  1. 2 points
    For the Form and Panel set AlignmentControl = uniAlignmentClient For the panel set the Layout = form. For the buttons set LayoutConfig.Margin =3 - or whatever you prefer
  2. 2 points
    You need to use a UniFieldContainer. See the images. Also remember for this to work the AlignmentControl must be "uniAlignmentClient".
  3. 1 point
    Hi. This example, show how to upload one or multiple files using javascript and ajax notification. the example show file upload progress and uploaded completed, and save the uploaded files in server folder. simply drag files into blue box. example using unigui 0.89 and xe2. MuploadSample_en.zip 05-12-2016: Modified for latest uniGUI version. (Farshad) MuploadSample_en.rar
  4. 1 point
    Hi Farshad, this is a preview of DBLookupCombo I need... :-) Thanks in advance! Stefano
  5. 1 point
    Hi I set the pool identity to LocalSystem, it worked perfectly. Thank you.
  6. 1 point
    Standard Desktop Windows OS's only allows for a small amount of concurrent TCP/IP socket connections (if I remember correct in Win7 it is something like 20), which will be fine for a small user system. But for enterprise systems or large user bases you definitely want to use the server editions which comes with additional benefits and security. The connection limit is an enforced application session limit. Basically this is to prevent people from abusing Win7 as a public web server platform or file server for example. There are ways to increase that of course....just Google it.
  7. 1 point
    Good morning friends!!! Based on your idea of TreeView, I made a screen and it works perfectly !!! I'm finalizing the layout adjustments (because I did in test mode), and soon I'll post the solution !!! Thank you!!!
  8. 1 point
    procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniMemo1.JSInterface do begin JSConfig('enforceMaxLength', [True]); JSConfig('maxLength', [50]); end; end;
  9. 1 point
    By the way Flex just sets how the controls will be spaced, if both were set to 1 then they will have equal widths.
  10. 1 point
    Hi to all. I share the uniGMap component. [Desktop and Mobile versions] It is based on code I have used in several projects and actually developed to fulfill my needs. It can add , edit , remove , locate markers , lines , polylines , circles , polygons , rectangles , directions , KML, infoWindows , change several map properties like zoom , type , control visibility etc , notify about map events through AjaxEvent like zoom , click , markerclick and get some object properties like Length , Area etc. It is absolutely free and you can use it freely in your own software. If you make any changes that you believe can help other developers too, please send them to me to integrate them into uniGMap. You can see it in action here : http://79.143.178.31/lema/uniGMapDemo.dll Although it is not a requirement, I would ask you to send a postcard from your hometown so that you help me grow my collection! If also you write 2-3 words, it would be perfect! So, lick your stamp and send your postcard to: Lefteris Maronikolakis, Bohali 92, 11524 Athens, Greece. latest version: 2017-09-15 v1.4.8 uniGMap.v.1.4.8.zip
  11. 1 point
    Hi @hph download this example, it has the example you need. http://forums.unigui.com/index.php?/topic/10949-how-to-include-a-fontawesome-icon-in-unidbgrid/?p=57847
  12. 1 point
    From the "All about..." series, my second contribution to the community All about Form Transparency using images and gradients. That´s all folks ... AllAbourFormsTransparency.rar
  13. 1 point
    Hello to all, [Edit]: code/project was improved and uploaded. Here is a jQuery widget with animation and fully customized and fully responsive that I have written recently: Works excellent when resizing the browser window ! Code: $('#newTasks').circleProgress({ title:'15', caption:'New tasks', bgcolor:'#e1dddd', fgcolor:'#54c0fd', tfntcolor:'#54c0fd', cfntcolor:'#b0aeae', animationstep:1, rotateanimationstep:0.4, total:100, value:30, mstyle:0, thik:25, shadow:1 }); You may test is online (for limited time): http://80.179.68.220:8076 You can download project from here [port: 8076]: http://3msoft.net/mhmd/CircleProgress.rar
  14. 1 point
    There was few posts about reaplacing standard loading,gif in project: So in CustomCSS: 1) When loading web page image: #loading .loading-indicator { background: url(./files/loading.gif) no-repeat; background-color: white; color: black; font: bold 16px tahoma,arial,helvetica; padding: 5px 10px 10px 50px; margin: 0; text-align: center; height: auto; } 2) For screenmask with loading.gif eg. when connection is lost: .x-mask-overlay { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-image: url(./files/loading.gif) !important; background-repeat: no-repeat !important; background-position: center !important; text-align: center; } Marcin
  15. 1 point
    Simple ext.form.triggerfield unigui wrapper UniButtonEdit.rar
  16. 1 point
    Used: UniEdit1 UniButton1 UniNativeImageList1 CustomCSS 1. CustomCSS: .customTrgCls { border-radius: 0; border-left: 0; } 2. UniButton1: Caption = ''; iConAlign = iaCenter Images->UniNativeImageList1 ImageIndex = 0 LayoutConfig->Cls = customTrgCls 3. UniNativeImageList1 Add camera-retro IconCls
  17. 1 point
    It will rotate only 'UniImage1' or what you want.
  18. 1 point
    It is easy to say "hire additional staff" to people who haven't that kind of skills. First of all Farshad need to hire sales people because he already have unique completed product for Delphi and Pascal which work and pays for itself in a few months. You really can fast, easy and cheap (compare to Java or .Net developers salary) create web application for businnes which need process operation in online. Simple CRM or similar application for view and edit data in browser you can develop in week. And when he will have good sales than he will able to hire additional stuff. Nobody know about these components. No matter how funny it sound but today most advertising for UniGUI made by ExirBox - man who hacked this components.
  19. 1 point
    I was very surprised when I found out that these components was developed by one man. No Embarcadero no somebody other with hundreds of developers and tens millions $ of budgets can't offer at the moment and half of what we have with unigui. Developing web application became for me the same simple and fast as a usual desktop application using Delphi. I think TMS would be save a lot money if bought these components from Farshad instead developing own from scratch, but I'm not sure how it is possible to scale this framework on for ex. 1000 simultaniously users and not sure that Sencha will provide the same license politic for TMS or somebody other as they did for Farshad. As I know, Devexpress now have nothing for VCL web, maybe they would be interested in buying and further promotion under their own brand (it just only if Farshad want to sell his work). Or DevArt - UniGUI are close by name with UniDAC
  20. 1 point
    ok, it is cool, Man (Farshad) was developing these components for about 10 years and now you ask him to make components free, because you have several troubles after migrate from extjs4 to BETA extjs6 If you ready (or somebody else) to work on developing components for free - I think Farshad can share with you several units in repository and can find work for you. It is not nessesary to make components open source if you want to help. TMS Web - my opinion it is 5-10 years before they became usefull for production. Now it is look like very very alfa version with tons of bugs in demo samples and very slow. And I don't understant which different tmsweb with Intraweb? But intraweb not popular product, I have several time trying to use it and always it finished after a week, but with Farshad's components I was able to create commercial product in several month when I never develop for web before. It is really cool components and bugs fixed very fast comparison to other components where sometimes I'm waiting month while they publish fix in next monthly release. it's also weird to hear about long waiting for fixes from the Delphi developer when Delphi themself has bugs which don't fix for years I think it is good idea to ask Embarcadero to make Delphi open source, or ask Microsoft for Windows. You have demo of this components, you have nice sample portal which show you almost all possibilities of UniGUI components and you bought actual version with actual functions. No one promised you that by buying a bicycle today you will have Space-X when the time to renew license will come.
  21. 1 point
    Merhaba; Aşağıdaki gibi bir java ile çözdüm. function SendAPI(id, message) { var result = null; //var obj = document.getElementById(id); $.ajax({ url : address, type : 'get', dataType : 'json', data : JSON.stringify(message), success: function(data){ ajaxRequest(id, '_SendAPI', ['send=OK', 'actions='+data.data.actions, 'results='+data.data.results]); console.log(data.data.results); } }) .done(function() { console.log('Send - OK'); }) .fail(function() { console.log("Send - ERR"); ajaxRequest(id, '_SendAPI', ['send=ERR', '', '']); }); } procedure TForm1.btnNum1Click(Sender: TObject); begin UniSession.AddJS('SendAPI(Form1.form, {"data":{"actions": "test"}});'); end; procedure TForm1.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); var x, actions, results: String; begin if EventName = '_SendAPI' then begin x := Params.Values['send']; end; end;
  22. 1 point
    Use css: font-size: 5.9vw;//screen width font-size: 5.9vh;//screen height I used this in my post: http://forums.unigui.com/index.php?/topic/7848-layout-advanced-tutorial/
  23. 1 point
    A few more fixes. - Z-Index for jToast fixed - buttonsStyling (typo / spelling incorrect in SweetAlert2) New css file added to jToast. (re-grab the files/jtoast and files/sweetalert folders in any code you use for the updated). Added 'custom' to jToast.. when 'Pos: custom' the Left and Top are used for positioning. *** If you are using an older version you may need to ignore the buttonStyling missing error and toggle the 'buttonsStyling' and save to fix. *** If you have Z-Index issues.. Clear your browser cache and try again. Enjoy. uniExtensions-V5.zip
  24. 1 point
    1. UniSession.AddJS('$.ajax({' + 'url: "' + UniSession.CallbackUrl('$.ajax', self, []) + '",' + 'type: "POST",' + 'data: {username:"g", abc:123},' + 'dataType: "text",' + 'success: function(data){' + ' alert("OK!"+data);' + ' }' + '});'); procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string;Params: TStrings); begin if EventName = '$.ajax' then begin UniEdit1.Text := 'AAAAAAA'; //Execution is not successful(Show no change)。 showmessage(UniEdit1.Text);(Display results correctly) This is why? UniSession.AResponse.ContentText := '{"success":true,"manager":[{"name":"xxx","userId":"222"},{"name":"yyy","userId":"333"}]}'; end; end; 2. unisession.AddJS('ajaxRequest(MainForm.window,"ajaxRequest",[]);'); procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string;Params: TStrings); begin if EventName = 'ajaxRequest' then begin UniEdit1.Text := 'AAAAAA'; //Execution is successful(Show change) UniSession.Response := 'Ext.Msg.alert("","ok!");'; end; end;
  25. 1 point
    Field Validation as per Sencha examples: http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/form/adv-vtypes.html http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/statusbar/statusbar-advanced.html
×