Jump to content

skafy

uniGUI Subscriber
  • Posts

    216
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by skafy

  1. Hi, I would like to ask how would a commonication look like between VCL and UniGui applications. Unigui would handle clients and send workloads to VCL, VCL would do some engine work proccessing, database R/W and returning respondes to UniGui. What would be the bast way to implement such solution. Tnx^
  2. skafy

    Unhandled Web

    Does enyone know why would these Unhandled Web errors, which you can see in attachment.
  3. Ok I forgot about built in server monitor. So... internal memory seems to be ok. when session is created and older terminated it raises and drops (to same value as before). But process memory does not drop. Why would that be? Also, why is Memory(Process) in server monitor and memory consuption in task maneger not equal?
  4. When I open new session application consume some of RAM, but when I terminate session, application doesn't release as much RAM as it took it for the session.
  5. And how can these errors can be resolved? Can I supress such behavior?
  6. If I would then fetch 100 - 1000 records, then I should I implement logics for next page and last page. But how would I then filter and sort records. Now I use FDQuery.Filter and FDQuery.Indexes for sort.
  7. How can I handle big dataset in TUniDBGrid with 100k+ records. For now I have FetchAll prop ON, but it it slow. how can I handle this type of situacion?
  8. How come that selection of theme is limited in runtime (package for server). There seems to be only 4 while in local are up to 10+ or something?
  9. skafy

    DBGridGetCellValue

    If cell hold some default value, I would like to remove it in time of editing (so that user don't need to delete this default value, but it would be blank for editing). If user doesn't enter enything I would than set back the default value (which I can do in OnSetCellValue).
  10. I know there is event on DBGrid -> OnSetCellValue. It is fired when you leave cell's editing. Is there a event alike when I enter the cell. I suppose it would be something like OnGetCellValue, but it does not exist. Where can I retrive call value when I enter cell's editor? Thanks in advance.
  11. skafy

    Titlebar buttons

    Is there a way to make buttons in title bar bigger? I have BorderStyle set to bsDialog and only enabled biSystemMenu (Close (X)). So how can I make Close button bigger and red? Thank you in advance.
  12. skafy

    MultiFileUpload

    This is Drag&Drop. Is it possible multi select in Windows Explorer from TUniFileUpload?
  13. skafy

    MultiFileUpload

    Is it possible to upload multiple file with TuniFileUpload.? I would like to use multi select when Windows file dialog opens.(on click Browse...)
  14. I have unigui standaloneServer (standard, not mobile) with standard unigui components. Is it possible to add mobile form and show it on the same address regarding which platform comes to web site. If so, where sould I switch which form should come up (standard/mobile) (UniPlatform?).
  15. Put something like this in project source FileName:= 'C:\Chrome\GoogleChromePortable\GoogleChromePortable.exe'; if extractFileExt(GetModuleName(Hinstance))='.exe' then ShellExecute(Application.Handle, PChar('Open'), PChar(FileName), PChar('Http://localhost:8077'), Nil,SW_Show);
  16. skafy

    UniMemo AutoSize

    Hi, how can i make memo with autosize when text wrap. I would like memo with 1 line and than when wordwrap happens i would like to increase memo height for 1 line. I've tried code from another post seen below, but doesn't seems to be accurate: function TPaginaPrincipal.TextWidth(s: TUniLabel): Integer; var c: TBitmap; f: TFont; begin { uma forma de calcular o tamanho de um texto na janela se o canvas não atualiza via ajax } c := TBitmap.Create; f := TFont.Create; Result := 8 * Length(s.Caption); f.Height := s.Font.Height; f.Size := s.Font.Size; f.Name := s.Font.Name; f.Style := s.Font.Style; try c.Canvas.Font.Assign(f); Result := c.Canvas.TextWidth(s.Caption); finally c.Free; end; end; How can I accomplish this?
  17. skafy

    window.open error

    It worked. Thank you for your help!
  18. I'm having problems with opening new window with Windows.open command. Command is: UniSession.AddJS('window.open("' + ReportURL + '")'); I attached image of an error that I get.
  19. Ok I manage to do this without simulation. I just call last on dataset (UniDBGrid.Datasource.DataSet.Last)
  20. How could I simulate click (nbLast) on TUniDBNavigator? I would like to simulate click before insert record into dataset so it would append, not insert in the middle of dataset. Can this be done some other way?
  21. Thank you Kumar. It Works!
  22. Hi, I'm having trouble setting Stype to csDropDownList in uniDBComboBox wich i create on the fly in runtime. I'm setting it like this MyDBcombobox.Style:= csDropDownList. What am I missing? I get error Undeclared identifier.
  23. skafy

    Sync Request

    And how should I get rid of it? What is causing it?
  24. skafy

    Sync Request

    Hi, Workflow.exe: 00000924: 09:54:58 [192.168.20.40]:Sync Request: Id: -1, Event: upload Workflow.exe: 00001188: 09:57:47 [192.168.20.40]:Sync Request: Id: -1, Event: upload Workflow.exe: 000016F8: 10:11:52 [192.168.100.66]:Sync Request: Id: -1, Event: bclose I'm getting this errors in my log file while server is running. What is explanation for that and what could cause this? Once they appere, I have to restart server and than works normal again for some time.
  25. Hi, I'm having a problem accessing UniMainForm from my application. I have 1 Main(MainForm) which is having 1 (Application) datamodule and that module is having another 1 (Application) datamodule. Form |_ DataModule 1 |_DataModule 2 If I understand UniMainForm correctly it is created for each session and its basicly datamodule(Shared unit) for whole application. Now... I'm creating threads in datamodule 2 and trying to write data to UniMainForm, but what I get is UniMainModule.CreatedTaskIns:= ATaskIns.Key; I Get access violation 0000064. I tried to read that variable from Datamodule1 and works good. It seems like i cant retrive current session from thread.
×
×
  • Create New...