Jump to content

Pier

uniGUI Subscriber
  • Posts

    37
  • Joined

  • Last visited

Everything posted by Pier

  1. Hi everybody! Has someone dealt with the problem of having "repeated events", e.g. and event that repeats each Monday a 9am for 5 weeks? How did you do it? Thanks, Pier
  2. Hi everybody. Is this the way to create calendars programmatically? (I want to define my own colors for the different calendars) calitem:TUniCalendarItem; calname: String; UniCalendarPanel1.Calendars.ClearAndResetID; n:=1; while not CalendariFDQuery.Eof do begin calname:=CalendariFDQuery.FieldByName('sval').asString; calitem:=UniCalendarPanel1.Calendars.Add; calitem.DefaultColor:=False; calitem.Title:=calname; calitem.Color:=UtilUnit.IndexToColor(n); CalendariFDQuery.Next; n:=n+1; end;
  3. What do you want to achieve exactly? In my case Everything lives in frames which are created at runtime and I change their size when the browser window changes size with: procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); var i,j:integer; tabSheet:TUniTabSheet; begin if SameText(EventName, 'resize') then begin for i := 0 to UniPageControl1.PageCount-1 do begin tabsheet:=UniPageControl1.Pages[i]; for j := 0 to tabsheet.ControlCount-1 do begin if tabsheet.Controls[j] is TUniFrame then begin (tabsheet.Controls[j] as TUniFrame).Width:=tabsheet.Width; (tabsheet.Controls[j] as TUniFrame).Height:=tabsheet.Height; end; end; end; end; end; ...but maybe your scenario is different
  4. I use ISAPI with Apache Win Server 2019, no problem.
  5. Forget it, found it. Do it in UniFrameReady.
  6. yes it works! have you also managed to have the filter bar hidden when the uniDBGrid is shown for the first time?
  7. What I find most hard is to replicate all functionalities of cxGrid which I heavily used in my VCL applications
  8. Hi! In the attached sample project I have three tables: names: id,name roles:id,role namesroles: id,nameid,roleid,thename,therole (these are of type fkLookup) and three unidbgrids to CRUD the data everything is ok with the two lookups but one thing fails whatever I try to do: when I update/insert/delete an entry in names the corresponding dropdown in in the namesroles grid is not updated... any ideas? as you can see in TDataModule1.FDQuery1AfterPost I tried to open/close all involved DataSets, change indices (any many more things I deleted meanwhile) withou success... test_unigui_3.zip test_unigui_3.zip
  9. Pier

    dblookupcombobox

    I confirm that the dropdown is not refreshed when the data in the listsource is updated (or a new row is added)
  10. Pier

    uniDBGrid Summary

    It seems to me that once filtering is applied the associated dataset does not scroll correctly. Can you confirm? (the afterscroll event is fired but but the row has not changed)
  11. can you please post your final code?
  12. Can you please provide an example?
  13. If I use the method suggested by Sherzod, after applying the filter the grid does not update the dataset by issuing scroll events. Am I missing something?
  14. in the end I solved the problem with an anonymous callback procedure and thanks to closures I used the DataSet available in the BeforeDelete and BeforePost events (hope it doesn't leak, I will check)
  15. Thanks for the help but this is not what is needed in my case. I want a single function to handle all datasets not just one (like MyDataSet1 in your example). The problem is that the Sender is the MainForm and not the DataSet which called the MessageDlg which then invoked the callback...
  16. Any news concerning this issue? Should I open a bug report?
  17. I can confirm that file download from Chrome on iPhone does not work, while it is ok from Safari. Any ideas?
  18. same problem here with version 1.90.0.1535 (licensed)
  19. Hi! I am using UniFileUpload with the MultipleFiles optino. Once the files (.e.g. file1.txt, file2.txt, file3.txt) are uploaded to the cache I want to move them to some specific location with their original filenames they had on the client, however the Files.FileName is the one in the cache and the original filename is not stored in the datastructure. Is there a way to get it (I am sure the component must have gotten it in the beginning). Thanks!
  20. Hi! I found the File Explorer brilliant as a concept but it fails to refresh correctly. I guess something changed over the years. Has there been any development on this project? Thanks for any help.
  21. Pier

    HyperServer SSL

    Hi! I am getting a "EIdOSSLLoadingRootCertError : Could not load root certificate." error when starting the service. The certificates are ok because they are accepted by Apache. Any idea how I can start debugging ? The error message in the log file is not very informative. Thanks for any help PS: version is FMSoft_uniGUI_Complete_Professional_1.90.0.1526
  22. Done. Sorry for having posted the question... my fault... I had to conver twice to get what I wanted: ((Sender as TUniDBNavigator).DataSource.DataSet as TFDQuery)...
×
×
  • Create New...