Jump to content

erich.wanker

uniGUI Subscriber
  • Posts

    867
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by erich.wanker

  1. Hello, the UniDBHTMLMemo1 should only show Font "Roboto" and "Arial" HOW ca i do this? ThanX
  2. Hi, i have a scroll-problem.. if i showmodal a UniForm .. this loads in a UniScrollbox a UniFrame with different uniDBGrids .. the uniframe scrolls allways to the last uniDBGrid which has minimum one record ... .... Solved it! a silmple "setfocus" on first component was it Sorry for this posting .. i thought i made the "setFocus" in all my uniFrame-Pages
  3. OK.. found it .... :-) UniSession.AddJS(my_panel.JSName + '.addCls(''bericht'');');
  4. hi .. how can i set the css-classname of a dynamic created component? i use my_panel:=TUniContainerPanel.Create(self); my_panel.Parent:=UniContainerPanel1; my_panel.Top:=y; my_panel.Left:=x; my_panel.Width:=365; my_panel.Height:=137; ... THIS DIDN´t WORK: my_panel.ClientEvents.ExtEvents.Add('beforerender=function beforerender(sender, eOpts){ sender.addClass("bericht");}'); ThanX
  5. Hello, how can i do this: ;-) In a uniDBGrid - i want a image a small caption a big Header and Text with wordwrap it should look like ths: How can i do this??? ThanX for suggestions
  6. Hy... my Console shows a lot of warnings like: '//@ sourceURL' and '//@ sourceMappingURL' are deprecated, please use '//# sourceURL=' and '//# sourceMappingURL=' instead. How can i fix this? ThanX Erich
  7. Hello, i want to change grid.Options at runtime: (switch between field-edit-mode and Rowselect mode) I Use: grid.Options := grid.Options - [dgRowSelect]; grid.Options := grid.Options + [dgEditing]; .. but doen´t work... i allways get after this an Error: Could not set cell position: row: [0], column:[0] :Cannot read property 'dataSource' of undefined grid.DataSource:=data; grid.Refresh; .. i tryed out to set Datasource again .. but didnt´work...
  8. Hello Abaksoft - short question... For Firebird 2.5 i use Zeos-Lib Components ... ZConnection - ZQuery .. The ZeosLib just have protocols til firebird2.5 What can i use to connect my Delphi XE4 Prof. with firebird 4.0 ? ThanX
  9. Hello, i use: UniHTMLFrame1.HTML.Clear; UniHTMLFrame1.HTML.Append('Hallo ... to change content at runtime ... But if the UniHTMLFrame1 is scrolled to position X - and i chnage the content - it is still scrolled to the old position i want to set it to (0,0) when i change the content i tryed "BeforeScript" -> window.scrollTo(0,0); and ExrEvents - > function afterupdatehtml(sender, eOpts){ window.scrollTo(0,0); } but with no effects... And ideas how to make this the right way ? ThankX
  10. Hello, short question: Is it possible to let unigui create TUniContainerPanel (the javascript -> html output) in the same order like TabOrder .. i found out that the Order of generated html-code is a solution for some Taborder-Problems.. ThanX for suggestions
  11. Hello, In version 0.99.80.1273 - i have now a "ConnectionLog" Folder in Log-folder ?
  12. What does the IIS Log say? -> https://portal.smartertools.com/kb/a2487/where-are-my-iis-log-files-stored.aspx
  13. Hello Ulugbek, Barcodescanner is the same as a keyboard ... the Barcodescanner scanns EAN Code or something else and sends it like the keyboard to the OS I think the best way is: Write a little programm with a global keyborad hook in delphi .. (a lot of tutorials in the web) if your keyboard hook becomes a lot of numbers in a short time (timestamp-based analysis) then you can assume - that the barcodescanner is the sender of the numbers... a human can not enter 12 digits in the same time like a barcodescanner ;-) Send via parameter a usernumber and the EAN-Code to your Server!! .. like www.domain.com/unigui.dll?user=123&ean=4564846 Search the running UNIGUI-session of the user and do with the EAN values what you want ... disadvantage: 1.) you must install the Trayicon-application on the client machine 2.) the client must have a open browser with your running unigui application .. but the user must not focus the browser window - focus the edit-field and so on ... a more stable version hth Erich
  14. i made a TUniContainerPanel called "mask" in MainForm .. visible:=false; you can make your own thing .. depending on your needs... in ClientEvent -> ExtEvebts: function afterrender(sender, eOpts) { sender.getEl().setStyle('z-index','901100'); } function beforerender(sender, eOpts) { sender.addClass('sec-maske'); } and the CSS: .sec-maske{ z-index:1000; position:absolute; width:100%; height:100%; zoom:1; filter:alpha(opacity=50); opacity:.5; background:#000000; cursor:default; } And i call my mask via different ways: Component-onClick: ClientEvent -> ExtEvebts: function click(sender, eOpts) { MainForm.mask.show(); } or via DelphiCode: UniSession.AddJS('MainForm.mask.hide();'); or unisession.AddJS('MainForm.mask.show();');
  15. Hello Abaksoft, ThanX for your note. what you are explain is how to install a webserver in customers network... ? - for this - i have a pre-configurated Apache 2.4 .. copy/past on a other machine and finish ! .. starts with all nessesary things :-) but i don´t want to install the uniGui-Webapplication on different machines .. i want to handle just one machine - keep it safe, clean and upToDate .. also the UniGui-App: One App to udate, one Database to update .. one Report-Template-folder .. one css - i just want two machines in summary: one Beta-machin and one productivity Server - but the Documents of the customer could be stored on the local Network of the customer: 2 advantages: 1.) Security and "the feeling - what all documents are InHouse" 2.) minimum of 100MBit Performance of Up/Download in local networks for documents So i search a way to redirect the UniFileUploader and the Sendfile to a second Server... Nice greetings Erich
  16. Hello, A question - which i become everytime: WHERE ARE MY FILES STORED IN A WEBAPPLICATION -> the answer: On the webserver :-) But if somebody doesnt want to store files on a foreign server? So i had a idea for THIS SPECIAL SITUATION On a hosted machin (Amazon or what else) - the UniGui application is running, the database, css files and so on are all on this machin .. a working UniGui-Application called A In the local network of the customer - a apache webserver will be installed (with a spezial unigui app called B).. and every upload/download created with A is in the local network (1Gigabit network) - no chance for an upload/download from outward (if wanted - set firewall and portforewarding) So all business - documents are "safe" and the company does not give the files out of the house .. What are you thinking ? How can i do this in case of UniFileUpload / unisession.SendFile ... Thanx for suggestions Erich P.S.: i just want to watch over ONE UniGui Application ... i dont want to install the uniGui on a customer-server ... for updates and so on - i prefer one Server for a lot of customers ...
  17. A lot of users use a "doubleclick" in my Webapplication .. the effect is: some components are selected in the browser (blue highlighting) is it possible to give unigui a global "don´t select something"? (since Text and imput fields ...and so on) Somthing like: user-select: none; -o-user-select:none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none;
  18. Hello Gerhard, nur so ne idee.. have you looked at: http://prime.fmsoft.net/demo/ucdemo.dll - and changing themes ? you can change the basic UI-Theme in MainModule / Objektinspektor / Theme ...
  19. Perfect ... THANK YOU very much :-)
  20. Hello .. i have a lot of TUniFrames ... now i change my programm-struktur .. Can i cange a existing TUniFrame to a TUniForm ? What must i look for? ThanX Erich
  21. .. is it possible to give a UniForm a box-shadow ... (which is "show " not "showmodal") how can i give a form the css-class ...
  22. ups .. yes .. i know "Release Version" ;-) .. i didnt know somthing about "pec2console" and debug build / release ... :-) thanX
×
×
  • Create New...