Jump to content
uniGUI Discussion Forums

mhmda

uniGUI Subscriber
  • Content Count

    905
  • Joined

  • Last visited

  • Days Won

    94

Everything posted by mhmda

  1. Hi, As default behavior of dbgrid is performing sorting in server side, but sometimes you fetch all data into grid (no paging) and the data is already in client, so why return to server to sort data !! Do the sort in client side: 1. Disable remoteSort (store): 2. Set 'click' event on column header and do sorting: Hope this will help you :-)
  2. mhmda

    Email Client Side Validation Translation

    function IsValidEmail(const Value: string): Boolean; function CheckAllowed(const s: string): Boolean; var i: Integer; begin Result:= false; for i:= 1 to Length(s) do if not (s[i] in ['a'..'z', 'A'..'Z', '0'..'9', '_', '-', '.']) then Exit; Result:= true; end; var i: Integer; NamePart, ServerPart: string; begin Result:= False; i:=Pos('@', Value); if i=0 then Exit; NamePart:=Copy(Value, 1, i-1); ServerPart:=Copy(Value, i+1, Length(Value)); if (Length(NamePart)=0) or ((Length(ServerPart)<5)) then Exit; i:=Pos('.', ServerPart); if (i=0) or (i>(Length(serverPart)-2)) then Exit; Result:= CheckAllowed(NamePart) and CheckAllowed(ServerPart); end;
  3. mhmda

    uniDBGrid .. Grouping .. Click in Group Title

    I use Unidac.
  4. mhmda

    Change color field with focus

    Grid? Editbox?....
  5. Hi there, I check the file type and in some cases I need to delete the copied file but it uses by the unigui app. mFileUpload.TargetFolder := ServerModule.StartPath+'compsdata\'; ..... procedure TfrmAttachFiles.mFileUploadCompleted(Sender: TObject; .... DestName:=ExtractFileName(AStream.FileName); CopyFile(PChar(AStream.FileName), PChar(DestName), False); .... deletefile(ServerModule.StartPath+'compsdata\'+DestName);//file is used by other process (unigui app in this case) Any idea?
  6. mhmda

    Sistema Mini ERP - Primeiro Video

    Great app...
  7. Online demo: http://5.189.151.122:8037/m Project: http://3msoft.net/mhmd/unimlistview.rar
  8. Hi, I udated to last version "1.90.0.1496" and number of sessions is increasing all the time even when I close browser or reload page.
  9. mhmda

    Bootstrap Template

    The Front-End is Extjs, which creating element in DOM, there is no static html, your page is SAP (single application page), the framework has it's own layout engine to be cross-device, I don't see any need to use bootstrap.
  10. mhmda

    Menu structure

    For the menu use panels with hbox layout, and for main window use also panel and load Frames inside it.
  11. mhmda

    Library to build Unigui forms on runtime

    Have you tried to do it using your own scripting (Delphi)? If I may ask for what purpose you need to do that? If I have spare time I would try to make an example :-)
  12. mhmda

    MyCaptcha

    Great, thanx
  13. I need to print html text (unihtmlmemo) into FastReport. Has anyone done this before? The AllowHTML in fastreport isn't a solution, I need to print also bullets.
  14. mhmda

    Screen examples of you're application designs

    I use Frames with .svg icons, most of the work done in client side, and applying DDproxy for drag drop functionality.
  15. mhmda

    uniGUI\Demos\Desktop\HTML5 Audio

    You can use js to do that or you can use a jQuery plug-ins.
  16. mhmda

    How to print HTML text inside FastReport?

    Any recommended solution for that? Thanx
  17. mhmda

    How to increase the data query speed

    I think it depends on the query itself: join, calculation, sub select etc. Extjs itself uses buffering in client-side like Android when using a listview. You can try to measure executing time for your query.
  18. mhmda

    Material theme in the trial ?

    http://prime.fmsoft.net/demo/desktop/mdemo65.dll
  19. https://en.delphipraxis.net/topic/711-rtl-patch-to-speedup-350-server-app-tested-on-i7-quad-core/
  20. mhmda

    HowTo : Open form in PageControl

    Exactly
  21. mhmda

    Grid->Disable double click on Check / Expander

    Inspecting DOM in browser.
  22. How can I disable double click on these areas?
×