Jump to content

erich.wanker

uniGUI Subscriber
  • Posts

    867
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by erich.wanker

  1. Hello, after Update to 0.98.0.1116 the following lines not working: UniHTMLFrame1.HTML.Clear; UniHTMLFrame1.HTML.Append('<html><head><title>scoller</title>'); UniHTMLFrame1.HTML.Append('<style type="text/css"> DIV#' +uniscrollbox1.JSName+ '_id> DIV {overflow-x: hidden !important;}</style>'); UniHTMLFrame1.HTML.Append('<style type="text/css"> DIV#' +uniscrollbox2.JSName+ '_id> DIV {overflow-x: hidden !important;}</style>'); any ideas how to solve this? ThanX Erich
  2. Hello, i am a litte bit confused ;-) .. i am not able to do the simple following questions: How to integrate a uniDataTimePicker in uniDBGrid-Cell (if nothing is select - the field schould be blank ) How can i integrate a uniCheckbox in uniDBGrid-Cell How can i integrate a uniDBLookupCombobox in a uniDBGrid-Cell ( and see the text - not the linked ID) ThanX for answering this basics :-) Erich
  3. Thanx ... https://prime.fmsoft.net/userv/mportal.dll works .... :-)
  4. Hello, i bookmarked a link: http://prime.fmsoft.net/userv/userv.dll to get the newest Beta-Release .. but now i get: 404 - File or directory not found. How can i download 0.98 ? .. i didn´t find the Files .. just the Trial-Edition On http://forums.unigui.com/index.php?/topic/3553-customer-area-web-application/?p=16637 .. i just find "Beta mode Customer Portal is no longer online" ... ThanX for help Erich
  5. Hello, i try to create a link like: <a href="mailto:wanker@x.at" style="text-decoration: none; color: #12345"> wanker@x.at </ a> .. but every attempt creates a new Browser Window or closes my Uni-Gui-dll.. i just want to have a UniButton or UniLabel..... user clicks on it ..... and eMailprogramm creates new Mailmessage to the eMailadress ... :-) Any suggestions? ThanX Erich
  6. Hello, for what is ScreenMask.WaitData ? - i see no different if i set it true/false .. ThanX for explanation :-) Erich
  7. hello mohammad, thanx for sharing this effect ... ITS GREAT ! ... :-) .. a little problem: the UniHTMLMemo and the UniDBGrid are not displayed correct if i use the effects ..? the positions of icons and wrong .. Any Idea how i can solve this problems? ThanX
  8. hi, i want to show a UniForm on a not visible area - a negative value of left position.. i work with: function window.beforeshow(sender, eOpts) { this.height = MainForm.form.height -100; this.x = -1000; - >> and then i animate the window to the screen center! .. } but the form is always created at left:=0; how can i tell the ExtJS to allow the form to be in negatif left value ? ThanX for suggestions
  9. Hello Alberto, i think the different is: - UniConatainerpanel has no borders, no caption and so on .. a resource-less "TUniPanel" with less overhead: See sourcecode of a UniPanel: See sourcecode of a TUniContainerPanel: HTH Erich P.S.: i user a lot of TUniContainerPanels as Buttons / Areas / component-container and so on per CSS i add hover-effects to UniContainerPanel ... A little Screenshot of my Form with a lot of TUniContainerPanels: .. Buttons are TUniContainerPanels .. Header Areal and so on are TUniContainerPanels .. every TUniDBEdit, TUniDBLookupCombobox and so on are IN a single TUniContainerPanel - so i can Set every TUniContaionerpanel (containing Database-fields) to visible/not visible depending on user-right-system (every TUniContainerpanel is Align:alTop.. works fine!) .. so i can define user-rights to every field :-) .. for me it is very important to have a small, fast TUniContainerPanel with less ExtJS-overhead:
  10. Thank you :-) and nice greetings from Salzburgerland https://www.google.at/maps/place/Bad+Hofgastein/@47.1600649,13.0928751,12z/data=!3m1!4b1!4m2!3m1!1s0x4777254b7ab4b11b:0xb2774d5aff6bfb8e
  11. TUniContainerPanel is perfect .. :-) just one important property for a "container" is missing: TabStop and TabOrder ... - if i place different TUniContainerPanels on a form - the user can´t user "Tabulator-Key" correctly See Image - i use it to diplay different input-components .. i switch different TUniContainerPanels to visible/not visible .. dependent on User-rights ! ThanX Erich ..and a short question: a TUniContainerPanel is a "div" ... with a "span"-outerCt and a "div"-innerCt .. both with role="presentation" .... For what are the span and the second div ? ... seems to me not necessary - but increase the numbers of lines to transfer to client-browser
  12. Hello .. i want to use the same "hint"-design for UniHTMLMemo and other uniGui-components .. it seems that the hint-design of all uniGui-components are the same - since the UniHTMLMemo .. how can i change the hint-style of UniHTMLMemo to standard or how can i change the standard hint-style of all uniGui-components to the style of UniHTMLMemo ThanX Erich
  13. Hello, a short question - where are different ways to run a UNIGUI - DLL What do you think ist the best solution: What ist the best technic for a Web-solution? Apache IIS .. other What is the best technic for a Intranet-solution? Standalone Server Apache IIS ... other P.S.: I use a Firebird SQL Server as Database Thanks for suggestions
  14. Hello, i move a form via drag and drop: function window.afterrender(sender, eOpts) { sender.dd = new Ext.dd.DDProxy(sender, ''); sender.dd.afterDrag = (function (){sender.setPosition(sender.getX(), sender.getY())}); Ext.onReady(function () { Ext.get(sender.id).select(".x-form-field").each(function (el) {sender.dd.addInvalidHandleId(el.dom.id)}) } ); } but i can not move a form a little bit "out of screenarea" - the moving-rectangle stops on the borders of the screen ... is where a way to disable this ? ThanX Erich
  15. i hope - i understand you right: In Main / Script: function bunload(){ dontleave="Softwarename"; return dontleave; }; function ounload(){ ajaxRequest(MainForm.window, 'SessionClosed', [] ); }; onbeforeunload = bunload; onunload=ounload; procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); begin if EventName ='SessionClosed' then begin UniServerModule.Logger.AddLog('Session Closed..',mainform.aktuell_session+mainform.aktuell_ip+'Softwarename'); uniapplication.terminate; end; aktuell_session:=UniApplication.UniSession.SessionID; aktuell_ip:=UniApplication.RemoteAddress; aktuell_session:='[sessionID:'+aktuell_session+'] '; aktuell_ip:='[DeviceIP:'+aktuell_ip+'] '; Hope that helps ;-) nice greetings erich
  16. WOW ... THANK YOU !! ..works fine! :-) best greetings Erich
  17. ok .. i found the problem: if my UniForm is create - i use: function window.beforeshow(sender, eOpts) { sender.animate({ duration: 400, to: { y:100} }); } and i use for moving the uniForm: function window.afterrender(sender, eOpts) { sender.dd = new Ext.dd.DDProxy(sender, ''); sender.dd.afterDrag = (function (){sender.doLayout()}); Ext.onReady(function () { Ext.get(sender.id).select(".x-form-field").each(function (el) {sender.dd.addInvalidHandleId(el.dom.id)}) } ); } so your UNIGUI-Code thinks, the form is still on Top-position: 0 and my form-movement-methode also sends no event to your unigui-code . .. can i read the position of a UniForm (borderStyle = bsNone) with javascript ? Thanx Erich
  18. Thanx for the Link ... everything worked fine after update .. Now - i use 0.97.0.1085 .. first of all i deinstalled components in delphi / removed FM-Software via windwos controll panel / delete programm-folder FMSoft .. .. the Delphi installation was fine - all components are working .. ObjectInspector / Servermodule / UniGUIVersion is showing: 0.97.0.1085 .. on Webserver - i cleared cache folder .. on Webserver - i copied ext-4.2.2.1144 -folder .. on Webserver - i copied uni-0.97.0.1085 -folder i recompiled uniGui-DLL .. but procedure TMainForm.UniButton1Click(Sender: TObject); begin ShowMessage(IntToStr(UniForm4.Top)); end; still brings "0" as result - also procedure TUniForm4.UniContainerPanel11Click(Sender: TObject); var x:Integer; begin showmessage(inttostr(UniForm4.Top)); any idea why ? ThanX Erich
  19. perfect :-) .. i got allways fast and professional answers from you - thanX .. short question: i have buyed licence 0.97.0.1074 ... how can i update this license? .. i only found the "trial" version to download. ThanX
  20. Hello :-) ... how can i read the uniForm position ? procedure TUniForm4.UniContainerPanel11Click(Sender: TObject); var x:Integer; begin showmessage(inttostr(uniForm4.Top)); ... is allways "0" ... and i think this is normal - because just client-side knows the actual position of a moveable form i think i must use Javascript like .. "UniSession.AddJS" or soemthing .. Can someone make a suggestion how to read the top-value of uniForm4 ? ThanX Erich
  21. Hi Delphi Developer, thank you for your help :-) but it didn´t work - the UniForm.left value is zero at this time i made a little "workarround" : procedure TMainForm.UniFormShow(Sender: TObject); begin UniTimer1.Enabled:=true; end; procedure TMainForm.UniTimer1Timer(Sender: TObject); begin uniform2.left:=trunc((mainform.Width/2)-(uniForm2.Width/2)); uniform2.ShowModal; end; .. in this case i can read the right mainform.Width-value ... that works for me :-) ThanX and nice greetings from Austria Erich
  22. hello .. i need the mainform.Width to adjuste a form at start (uniForm2.position= default) procedure TMainForm.UniFormShow(Sender: TObject); begin uniform2.left:=trunc((mainform.Width/2)-(uniForm2.Width/2 - 45)); uniform2.ShowModal; end; --> read mainform.Width at this point brings the pixel-width of delphi-designtime .. ThanX for suggestions Erich
  23. Hello, i added a lot of uniForms (Application Form) with a lot of uniImages to a project .. Now if i start the project - it takes time ... to see the empty "mainform" i want to start the uniGui.dll very fast and will dislay every uniForm with " formname = TUniForm.create .. formname. show .." am i wrong with this ? ThanX
  24. Hi Delphi Developer .. Thanx .. But: the 2 Buttons of the MainForm are the problem.. ... the buttons on Mainform scrolls to -3000px if you create a Uniform.left at +3000 px have you any idea how to tell mainform it should not move his content ? ThanX Sorry .. i forgot: THIS HAPPENS JUST IN CHROME BROWSER
  25. Just for Infotext and descriptions (html formated) .. like a "Table" ... not editable .. autosizing ... uses the space what it needs .. if i use a UniMemo or HTMLMemo or HTMLFrame .. set Align to "alTop" ... and under the "Textarea" a uniPanel with align "alClient" - different text uses allways the same area (with or without scrollbar) .. but i search a solution with "autosizing" .. short text uses just the space what it needs .. long text fills the right space and minimizes the rest of the "client area" ..
×
×
  • Create New...