Jump to content

skafy

uniGUI Subscriber
  • Posts

    216
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by skafy

  1. my knowledge on extJS is weak. This cannot be implemented with UniGui components? TUniDBGrid?
  2. Hi, I'm wondering if there is a way with UniDBGrid to do grid inside grid? Something like this: https://www.componentone.com/newimages/Products/ScreenShots/StudioWinForms/C1TrueDBGrid/truedbgrid_childgrids.png
  3. I'm sorry but, how can this be used. I know I have to add files to costum files (UniServer). But what then?
  4. skafy

    PDFViewer problem

    Bug is fixed with new version 2015.023.20070
  5. Hi I would like to as you guys if you have any ideas about how could i present tiff files. For now I convert them to pdf when form loads and show them in TUniURLFrame. But it takes a lot of time for tiff files with higher number of pages. I'm using IE 11 and i know that there is AlternaTIFF but i can not deploy it to all clients. Any other suggestion?
  6. skafy

    Multiple forms

    U don't. U can add parameter but your'll have too open form depending on parameter inside the MainForm (redirect from mainform depending on parameter value)
  7. skafy

    PDFViewer problem

    Adobe has a bug. Workaround that worked for me is to disable protected mode (Click on Edit->Preferences->Under Security (Enhanced) uncheck at startup enable protected mode. Click OK to save changes and close Adobe Acrobat DC) I hope they will fix it. (https://forums.adobe.com/thread/2262182?start=40&tstart=0)
  8. skafy

    unidbgrid sort

    FunnyBlue, so do I. I mark every field in DBGrid (Dataset) as sortable.Then I build up an index for Field on witch click was made. So sorting is made on clientsite.
  9. ServerModule I suppose.
  10. Hello, I'm having a problem with viewing PDF files in my application. I then tried to run UniGui pdfviewer example and having the same problem. I have Adobe Acrobat Reader DC with patch 2015.023.20053 witch came on Januar 10 2017. With previous version of acrobat reader (20030 or something) there is no problem. Steps to reproduce: Have instaled Adobe Acrobat Reader DC 2015.023.20053 Run PDFViewer example from UniGui (localy) Close form (with X) when pdf loades. You will get a freeaze of duration 5+ sec. In Task manager 2 processes of Acrobat lives, and if you kill one while form closing, form close immediately. Is there mybe a workaround or solution for this problem?
  11. For me it works if I just add /m in address. So http://localhost:8077/m shows mobile form at PC and phone/tablet.
  12. Ok tnx everybody! I know it seems impossible, but i'll still going to make something. Maybe sth like @wprins suggested. Will update my results.
  13. This disconnect all connected users right.?
  14. Does Memory (process) ever released? or is allways reserved for application once it was taken.
  15. Has enything been resolved?
  16. I see. This can be done yes, but I'm looking for more sophisticated solution. Because in your case, if there would never be 0 session (someone would allways be on (just assuming)) then new version would never take place as active one.
  17. Hi, I am wondering how could I automaticly switch between releases. For better understanding I will represent idea on example: There is running standalone server UniGui. People are connected to it and doing something on the website. Then I need to change something and create new release. Situation now is that I can switch releases when there is noone connected to website OR I kill server (and terminate all current sessions) and switch it as fast as possible so people will use new version of the program (website). Is there a way automaticly switch between versions whitout killing active sessions on server or switchig it when noone is around. Like when I new relase apper newly created session will use new release and sessions in old relase would normaly use old one until they refresh or reenter website. Older release would stop, when there is newer release is available and when session cound is 0. Any idea?
  18. Thank you md9projetos & Fashad!
  19. Ok, maybe I understood. I usually hold FDConnection inside DataModule and not MainForm. In your case I would create setup function right after creating DataModule. I give to this setup method pointers of components as parameters from main form that i'll be using in datamodule. procedure TGenerateUniGuiCode.SetUp(ASomeConnection: TFDConnection; AAnotherConnection: TFDConnect); begin //Connection1 and Connection2 are TFDConnetion Connection1:= ASomeConnection; Connection2:= AAnotherConnection; end; procedure TMainForm.UniFormCreate(Sender: TObject); var CodeGenerator: TGenerateUniqueCode; begin FGenerateUniqueCode: TGenerateUniqueCode.Create(Self); FGenerateUniqueCode.SetUp(ASomeConnection, AAnotherConnection); end;
  20. Something like this DataModule: function TGenerateUniGuiCode.GenereteSomeCode : string; var SomeCode: string; begin SomeCode:= 'SomeCode'; Result:= SomeCode; end; MainModule: procedure TMainForm.UniFormCreate(Sender: TObject); var CodeGenerator: TGenerateUniqueCode; begin CodeGenerator: TGenerateUniqueCode.Create(Self); FGenerateUniqueCode:= CodeGenerator.GenereteSomeCode; //function returns string and saves it to property end;
  21. why dont you use function and return option.
  22. skafy

    Client username

    When I investigate i couldn't find another option. When I think of it now, I will probably change it so user will have to put its credentials once and I would then save it with cookies(would check whid LDAP). It would cover multiple browser insted of just IE.
  23. I manage to resolve the issue. There was a problem with URLFrame. I was showing attachment in details form (.pdf) in URLFrame using <frame> tag. I resolve the issue by clearing URLFrame's HTML property before closing detail form.
  24. Use FastReport. Its perfect tool for the job.
  25. Hello, I recently notices that I'm getting blank white page after dialog is closed. In my application on MainForm I have DBGrid and when double click is performed detail form is shown. After I click close button on this detail form I get white blank page. It seems that behind the whiteness there are all controls from MainForm, but they aren't visible. Attachments: On start there is MainForm (MainForm.png) Double click on the record opens details dialog (DetailsDialog.png) When Close button on details dialog is clicked, I get whiteness (BlankWhite.png) Because this started recently I suspected that some IE patch made this. I found out that this blank white page only apper on Windows 7, witch has IE 11 with KB3197655 patch installed (seen in Windows 7 - IE11.png). I followed this patch on MS website (https://support.microsoft.con/en-us/kb/3197655). There is this drawElements (KB3203729) that they fixed witch I think is a change that causes me problems. On other IE Works just fine, but this combination seems to cause me problem. Blank white page sometimes disaper by it self and show MainForm and sometimes don't. I found that that if I resize IE when there is a white blank page, it dissaper and MainForm is shown. Please help. Best regards!
×
×
  • Create New...