Jump to content
uniGUI Discussion Forums

Leaderboard


Popular Content

Showing content with the highest reputation since 08/23/18 in all areas

  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
    An example showing how to incorporate Leaflet and OpenStreetMaps into UniGUI. The following lines must be added to the ServerModule | CustomFiles: https://unpkg.com/leaflet@1.3.4/dist/leaflet.css https://unpkg.com/leaflet@1.3.4/dist/leaflet.js See the Mapbox Tab in the application for more details. P.S. I am no expert with Leaflet - please see the following for more details: Getting started with Leaflet OpenStreetMap Mapbox - the accessToken used for this is a public one...you can register to receive your own. Leaflet Maps Example.zip
  3. 2 points
    ok .. found a solution for chrome, egde, safari, opera ... i changed to https://greensock.com/tweenmax and i animate my things with : Panels: UniSession.AddJS('TweenMax.to('+UniContainerpanel.JSName+'_id,0.4,{left:'+inttostr(x)+'});'); Forms: UniSession.AddJS('TweenMax.to('+self.WebForm.JSName+'_id,1,{autoAlpha:0});'); Works fine :-) Greetings Erich user_interface.webm
  4. 2 points
    Some time ago I was working on a migration of an application from the desktop to the web using uniGUI. The application used a TRichEdit control and stored the information in a database. The new application, web-based, needed the documents in HTML and I started working on solutions. I found a few tools which could convert RTF <=> HTML. Some of them are: Subsytems – Expensive, but it does the job unRTF – GNU DocFrac - Sourceforge Html2Rtf - DLL for both HTML -> RTF and RTF -> HTML My idea was to use the database events OnBeforePost and OnBeforeScroll to execute the conversions while keeping the database format as RTF (to keep compatibility with the desktop application). I never implemented the solution but it could be used by anyone interested in moving from RTF to HTML.
  5. 1 point
    hi .. a small demo .. i hope it helps :-) Nice greetings Erich (zip file containig folder "files" .. with images and JS-Library .. please store it to your webserver-structure..) demo.zip Places where you should look: Main->UniContainerpanel->ClientEvents->ExtEvents .. Background thing UniForm1->ClientEvents-ExtEvents ... Animate the form ServerModule->CustomMeta .. load JS Library in TUniForm1.UniFormShow - i animate all uniConatinerPanels WHERE THE TAG value (ObjectInspector) is 1 in TMainForm.UniFormCreate - i copied a lot of my css things in UniHTMLFrame1 ... a lot of css declarations are not important for the demo .. a lot of trash ;-) the basic thing: UniSession.AddJS('TweenMax.to('+the Component and his JSName+'_id,'+Speed of animation+',{left:'+inttostr(position)+'});'); mini_demo.webm
  6. 1 point
    Tudo bem, olha ai, www.uniscript.com.br:8077/?app=samples www.uniscript.com.br:8077/?app=dashboard1 www.uniscript.com.br:8077/?app=dashboard2 www.uniscript.com.br:8077/?app=jquery tudo script .pas e .dfm, um único executavel vai rodar vários projetos.
  7. 1 point
    Under a typical scenario maximum number of concurrent HTTP connections can only be a few hundreds. However, concurrent connections should not be confused with number of active sessions. You need an active HTTP connection only when a request is pending. You may have thousands of sessions, but only need 100 active connections to serve all those sessions. uniGUI internally implements pools for threads and transport handles to smartly manage OS resources. We have stress tested our own customer portal application with HyperServer in a dedicated test server with up to 2.000 concurrent sessions. As long as your server resources allow, you can increase number of sessions to 10.000 or more. The only concern here is database connections which must be pooled using pooling techniques provided by your data connection library. For example, if you are using FireDAC then you must enable database connection pooling if you plan to have more than 500 concurrent sessions.
  8. 1 point
    Hello, No, You can use this version without hyperserver too, as previos versions, for configuring: http://www.unigui.com/doc/online_help/installing-and-configuring-hyp.htm
  9. 1 point
  10. 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.
  11. 1 point
    You need to use a UniFieldContainer. See the images. Also remember for this to work the AlignmentControl must be "uniAlignmentClient".
  12. 1 point
  13. 1 point
    Andy Leaflet is actually using Open Street Maps, which has very decent coverage, we use it in our products. And if you need more, then there is Mapbox which is a pay as you go service on top of Open Street Maps. Leaflet OpenStreetMap Mapbox
  14. 1 point
    Andy...I played around a bit with Leaflet Maps...which are free, unlike Google Maps. They are a lot easier to work with and the API seems to require less coding. See the image below. I will do a sample project for uniGUI.
  15. 1 point
    See the image attached...you were missing a comma at the end of the 4th PathCoordinate. I checked it with JSFiddle. Below is the corrected version with the zoom and center functions added. UniSession.AddJS('var gm = googleMap; '+ 'if (typeof gm == "object") '+ '{ '+ ' gm.setCenter(-37.84, 144.67);'+ ' gm.setZoom(15);' + ' var PathCoordinates = '+ ' ['+ ' {lat: -37.842521707298296, lng: 144.6705822349851},'+ ' {lat: -37.84328847009031, lng: 144.6718965174024},'+ ' {lat: -37.84340920273167, lng: 144.67219424260304},'+ ' {lat: -37.84345580124215, lng: 144.67245307577298},'+ ' {lat: -37.84412353348225, lng: 144.67519362283394},'+ ' {lat: -37.84445395544746, lng: 144.67542965722726},'+ ' {lat: -37.84683464430723, lng: 144.67503269029305},'+ ' {lat: -37.846206649771126, lng: 144.66954341367773},'+ ' {lat: -37.84302853810139, lng: 144.67027782310845},'+ ' {lat: -37.84251570967168, lng: 144.6705956648767}'+ ' ];'+ ' var MyPolyline = new google.maps.Polyline'+ ' ('+ ' {'+ ' path: PathCoordinates,'+ ' geodesic: false,'+ ' strokeColor: ''#FF0000'','+ ' strokeOpacity: 1.0,'+ ' strokeWeight: 2'+ ' }'+ ' );'+ ' MyPolyline.setMap(gm);'+ '} ' );
  16. 1 point
    Hello, UnimTabPanel -> TabBarVisible = False
  17. 1 point
    sorry,I have resolved that,I delete the "XXXX\Win32" files,and recompile the project。
  18. 1 point
    Hello, You can try these actions: 1. UniDBGrid1 -> Options -> dgDontShowSelected = True 2. UniDBGrid1 -> OnAfterLoad event: procedure TMainForm.UniDBGrid1AfterLoad(Sender: TUniDBGrid); begin with UniDBGrid1 do begin CurrRow := 5; CurrCol := 5; end; end;
  19. 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
  20. 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
  21. 1 point
    It will rotate only 'UniImage1' or what you want.
  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
    Hi, Who needs change this property: UniDBGrid->LayoutConfig->Height = 100% Best regards
  24. 1 point
    Merhaba, Geliştirici açısından daha az iş gücü ve zamanla daha büyük projeler başarılabilir ki bu da proje maliyetini düşürür. Program arayüzü Sencha Ext JS ile çalışıyor ki bu da mevcut en gelişmiş Javascript arayüzü kütüphanesidir. Program tamamen Ajax istekleri ile çalıştığı için gözle görülür performans artışı elde edilebilir. Web arayüzü masaütü yazılımlara benzediği için kullanıcı dostudur ve kullanım kolaylığı sağlar. Kurulum ve dağıtımı kolaydır. Tipik bir kurulum bir kaç megabyte düzeyindedir. .NET gibi harici kütüphanelere gerek duymaz.
  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
×