Jump to content
uniGUI Discussion Forums

jaromir

uniGUI Subscriber
  • Content Count

    68
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jaromir

Recent Profile Visitors

129 profile views
  1. jaromir

    TUniImage Draw and Update

    Hello nimarufa, I use Your code to replace TUniCanvas which makes GDI leaks for me. I think that You don't need to create var image. It is enough to call (after png save): UniSession.AddJS(Format('ajaxRequest(%s, "ImageUpdated", ["ImageUrl=%s"]);', [fFrame.JSName, lUrl])); And in Ajax frame event: if SameText(EventName, 'ImageUpdated') then UniSession.AddJS(Format('document.getElementById("preloaded_image").src = "%s";', [Params.Values['ImageUrl']])); So it is not necessary to create global url variable.
  2. jaromir

    GDI Objects count

    Thank You.
  3. jaromir

    GDI Objects count

    Can someone tell me what is Your GDI Objects count ? How many sessions peak and uptime ?
  4. jaromir

    GDI Objects count

    Hello, What is Your real GDI Objects count ? In my simple app (max 12 sessions) after 11 days it is more than 700. But it still growing day by day. Maybe I have some leaks at 3rd party code ? Should this objects count be smaller and greater according to sessions count ? Thanks.
  5. jaromir

    Active form class name / caption / name

    I made this this way. But this is workaround. I'm pretty sure that better way exists. TDMMain = class(TUniGUIMainModule) private { Private declarations } fLastFormInstanceClassName: String; public { Public declarations } function GetFormInstance(const InClass: TClass): TComponent; end; function TDMMain.GetFormInstance(const InClass: TClass): TComponent; begin fLastFormInstanceClassName := InClass.ClassName; Result := inherited GetFormInstance(InClass); end; TDMServer = class(TUniGUIServerModule) procedure UniGUIServerModuleException(Sender: TUniGUIMainModule; AException: Exception; var Handled: Boolean); end; procedure TDMServer.UniGUIServerModuleException(Sender: TUniGUIMainModule; AException: Exception; var Handled: Boolean); begin SendEmailMessage(DMMain.LastFormInstanceClassName, AException.ClassName, AException.Message); end;
  6. jaromir

    Active form class name / caption / name

    As described above. I send debug e-mail from OnException server module event handler. In this e-mail I want to put window name / class name where exception was raised. Is it clear ?
  7. Hello, Is it possible to know actual (topmost) window name / class name / caption ? I'm hook my debug email system at DMServer.OnException and I want to know which app window has problem.. Thanks
  8. jaromir

    Update to UniGUI Add-on Theme Pack 1

    GerhardV, I'm also very interested in.
  9. I think that UniGui is mostly GUI. If You don’t need Gui there is a lot of better option. First (which i use) is remobject sdk. You can make any web server as You wish with this tool.
  10. jaromir

    unidbgrid direct input

    I agree as well. I use dev express grid and my customers use keys + tab to enter data. As well last column tab should add new row. It is very important for us.
  11. jaromir

    GarbageCollector class - what do you think?

    One more thing. You have to place dll from FastMM bin next to Your exe. It is something like FullDebug...dll.
  12. jaromir

    GarbageCollector class - what do you think?

    Hello Stan I’m not at screen at this moment so I give You only brief. First You have to enable FullDebugMode in FastMM configuration file. You have to remove dot at proper line. Next You have to enable „include debug info” at compilator options. After next build You can execute app. During app close, if any leak will be detected You will see detailed log file with code lines whitch makes leaks. Don’t forget to disable including debug info in next builds because it makes exe much more bigger in size. Best regards Jaromir
  13. jaromir

    GarbageCollector class - what do you think?

    Hi. For me it is not good idea. What do You want to achive ? Cleaning memory after application close ? For me leak is mistake / error and I want to repair all this mistakes. I use fastmm or similar solution with full debug mode. All leaks should be repaired at place where they appear. Cleaning all leaks at app close is dirty solution. Your app can work long time without restart and it should consume as small amount of memory as possible.
  14. jaromir

    UniGUI support, feedback in general and the future?

    I’m sorry my friend but perhaps You don’t understand what unigui is and what it works. It is a lot of reasons to have unigui at Linux. For me Windows is a bigest disadventage of unigui. We wrote a lot of Unix/Linux deamons in delphi which are compiled at target hosts at FPC. It works like a harm with remobject soap/binary protocols and with zeos database support. I mean quite big production systems working from years.
  15. jaromir

    TUniCombobox - property Images

    Thanks Sherzod. Any chance for image combobox control ?
×