Jump to content

Abaksoft

uniGUI Subscriber
  • Posts

    1558
  • Joined

  • Last visited

  • Days Won

    87

Everything posted by Abaksoft

  1. The good news has come ! https://en.delphipraxis.net/topic/2749-experienceopinions-on-fastmm5/?do=findComment&comment=22717 FastMM5 USAGE : 1. Downloaded the latest FastMM5 from https://github.com/pleriche/FastMM5 2. Replace the Original BorlndMM.dll : C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\BorlndMM.dll By the newer (i complided FastMM5-master\BorlndMM DLL ) 3. Add to the Library : Options > Delphi > Langage > Library ...\FastMM\FastMM5-master\FastMM5-master 4. Add the first uses on the Project (Main program) uses {$IFDEF DEBUG} FastMM5, {$ENDIF} 5. begin ReportMemoryLeaksOnShutdown := True; end; Test with this simple test : procedure TForm1.FormCreate(Sender: TObject); var L:TStrings; begin L:=TStringList.Create; end; And Close the Application : you will see MemoryLeaks
  2. FastMM5 : Investigation... https://en.delphipraxis.net/topic/2749-experienceopinions-on-fastmm5/?do=findComment&comment=22714 @Pep Do you have some advise ? Thx
  3. Ah...Super. Now All is OK. Thank you so much Enjoy your meal
  4. Sorry Sherzod, The problem persists ! Infact when i tested with FastMM5, by default FastMM5 is not activated. Can you please examine the TestCase below MemoryLeaks.7z with FastMM4. Thank you.
  5. This is for FastMM4 : http://delphiprogrammingdiary.blogspot.com/2018/09/fastmm-and-how-to-use-in-delphi-project.html https://delphibistro.com/?p=186 I wil try to get it for the new version FastMM5 ?
  6. Advice Use FastMM5 instead of FastMM4 with Unigui. Proof : http://forums.unigui.com/index.php?/topic/14417-unicalendarpanel-with-vertical-scrollbar/&do=findComment&comment=78161 Edited : Wait for investigation...
  7. Oups....Sorry The problem was on FastMM4. When I download the lates FastMM5, all is OK
  8. Hello Sherzod, This raise a MemoryLeaks (with FastMM4). Maybe onDestroy some think like : UniCalendarPanel1.JSInterface.JSCall('...deleteSort', .... ); ??? Appreciate help. Thx. ReadMe.txt MemoryLeaks.7z
  9. Short answer : Pay attention to MEMORY LEAKS ! Download FastMM4 or 5 and Test, Test, Test....before deploying. Ofcourse, you trust on your code and expertise, but you often get a bad surprises !
  10. And for those who are using IsAllDay, and would be interested, We found a way to hide times on the left side (as ShowTime = False has no effect). by setting ; DayTimeRange and WeekTimeRange : From 00:00:01 to 00:00:01
  11. You really are a Maestro ! Thank you So MUCH .
  12. Good morning Sherzod, Any news ? To resume : 1- Order by DateTime ASC 2- with different Colors 3- ISAllDay := True Event 1 [10:00 -> 10:20] (Color 1) Event 2 [10:20 -> 10:30] (Color 2) Event 3 [10:30 -> 10:40] (Color 3) etc... Many Thx...
  13. You can use OnGetText property (DataSet Field) : 1. For a Persistent Field in this case "Etat" : procedure TFraDemandes.MyDataSetEtatGetText(Sender: TField; var Text: string; DisplayText: Boolean); begin if DisplayText then begin // Demandé if Sender.AsVariant = NULL then Text:= '<i class="fas fa-smile fa-2x " style=color:orange; ></i>' // Proposé else if Sender.AsInteger = 1 then Text:= '<i class="fas fa-smile fa-2x " style=color:green; ></i>' // Absent else if Sender.AsInteger = 2 then Text:= '<i class="fas fa-smile fa-2x " style=color:black; ></i>' // Traité else if Sender.AsInteger = 3 then Text:= '<i class="fas fa-smile fa-2x " style=color:grey; ></i>'; end; end; 2. On an Optional Field (not existing in the DataBase) like column Edit and Trash : You can Add theese two Fields on your SQL query : txtSQL:='Select TPL.IDPlaning, .......' + _____________________________ '0 As Editer, 0 As Trash' + _____________________________ ' From TPLANINGS TPL ' + ' Join ....'; with the same technic : procedure TFraDemandes.MyDataSetTrashGetText(Sender: TField; var Text: string; DisplayText: Boolean); begin if DisplayText then Text:='<i class="fas fa-trash"></i>'; end;
  14. Good to hear you again Fred, And thank you for your great efforts. - For uploading on Unigui Forum again, just send a PM to Farshad. He will empty you tmp data ( I had the same problem in the past). - What about SPEECH RECOGNITION ? We are waiting you like the rain in the desert Best Regards...
  15. Great ! You cal also use simply Layout Technic as below : Mobile_Design.7z ReadMe.txt
  16. Sherzod, if you do not mind one setting : How to get Order by time, with differents Colors ? UniCalendarPanel, Order naturally the Events, by their timing OK. It seems that, when using CalendarID, the history change ! (CalendarID is using only for colors). Can you please have a look ? Many Thx. Order_ByTime.7z
  17. Oh...Perfect ! God bless you and your family Aaaamiiiiin......
  18. Hello, Did you try ? Copy / Paste the text of your icons From the PRO siteweb : https://fontawesome.com/icons?d=gallery&s=solid&m=pro Maybe (I did'nt try it) on Step 3 : 3. In your Unigui Project add this simple line on your ServerModule > CustomFiles : <link rel="stylesheet" href="files/myfontawesome_pro/css/all.css"> with : myfontawesome_pro your uncompressed Directory Pro Edition.
  19. Hello Guys, Firebird 4.0 Beta 2 https://firebirdsql.org/ Good Test ...
  20. Thank you Sherzod, Otherwise, with Event.IsAllDay:=False; You can imagine the frustration of a secretary !!!
×
×
  • Create New...