-
Content Count
53 -
Joined
-
Last visited
-
Days Won
1
Everything posted by ConstantGardener
-
Does the main form's OnShow event only ever fire once?
ConstantGardener replied to Gord P's topic in General Help
I think the onShow is also triggert if you change the VCL.Skin in your program? -
@Alexander Sviridenkov
-
...good point, especally when your Code Insight is broken.
-
...or you can use default parameters or even overloaded constructors with different parameters.
-
FreeAndNil() - The Great Delphi Developer Debate
ConstantGardener replied to AlexBelo's topic in Tips / Blogs / Tutorials / Videos
I am signed up only for the fact that Allen Bauer comes to the party. -
Indy https server - OAUTH2 implementation?
ConstantGardener replied to Lars Fosdal's topic in Network, Cloud and Web
-
@Attila Kovacs Thank you for the unit!
-
@al17nichols These are the "good old" RTC Components sold to teppi.com as one of the users.
-
Here not 5-10 minutes, but 2-3 minutes. Without question , hotload can save us hours, but in c++ it can save days. 🙂 That's the whole point.
-
On the other side: when you take the compiletimes of c++ into account the hotreload is of more interest in this ecosystem then in delphi.
-
Install Quickreort 10.3 RIO on Delphi RAD 104
ConstantGardener replied to kameraad's topic in General Help
Take a look at this thread in the german delphipraxis. In the second part is a step by step guide for installing an old quickreport version in newer versions of delphi. U need a source-version of quickreport. https://www.delphipraxis.net/204516-quickreport-einziger-entwickler-gestorben-wie-geht-es-weiter-2.html -
i don't know the devEx one, but the TMS thingy has a very wide range of events, procs and functions for such operations. Maybe you need to add some eventhandlers, but all in all it is very powerfull. My 2 Cent!
-
...the TAdvStringGrid from TMS should do the trick.
-
Compiler detecting repeated lines?
ConstantGardener replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
....this is more a topic for static code analysis (for example TMS FixInsight) -
This may be the case for very complex projects, but when the Tooltip show's you the right file and classname and an Ctrl+click shows you nothing (don't open this file/class) in a not so big project (build's in 17 sec)? This drives me crazy!
-
from @Vincent Parrett in another thread about 10.2.4 LSP : "If the code is too complex for the tooling, then the tooling needs improving, valid compiling code should not be a problem."
-
Hmm ok. For me is every dependency i can eleminate from my main project a win. I try to focus on well maintained libs with sourcecode (TMS for example). A not maintained component from torry would be an absolut no go for me. my 2 cent.
-
...one more dependency for this? I would go with remy's solution.
-
function ResponseWithScaledJPG (const AFilename : string; var Response: TIdHTTPResponseInfo) : boolean; var JPEGImg : TJPEGImage; AStream : TStream; begin result:=false; if FileExists (AFilename) then begin AStream := TMemoryStream.Create; JPEGImg := TJpegImage.Create; try JPEGImg.LoadFromFile(AFilename); if JPEGImg.Width<500 then JPEGImg.Scale:=jsFullSize else if JPEGImg.Width<1000 then JPEGImg.Scale:=jsHalf else if JPEGImg.Width<2000 then JPEGImg.Scale:=jsQuarter else JPEGImg.Scale:=jsEighth; JPEGImg.SaveToStream(AStream); result:=true; finally JPEGImg.Free; Response.ContentType := mime.ImageJPeg; Response.ContentStream := AStream; end; end; end; ....use this as base for your own solution. This function is from a little INDY webserver for responding with scaled pic's to jpeg-requests for limiting the traffic payload.
-
...it fails for values like 5,00 or 10,00. Just saying!
-
function RoundUpToFive (AValue : Double) : Integer; begin result:=((Trunc(AValue) div 5)+1)*5; end; ....should do the "trick".
-
MAP2PDB - Profiling with VTune
ConstantGardener replied to Anders Melander's topic in Delphi Third-Party
....and "Better Translationmanager"!!! -
With remover refactoring tool to IDE, Please vote this feature request:
ConstantGardener replied to Tommi Prami's topic in Delphi IDE and APIs
Please fix the lsp in the first place and then, and only then, think about new stuff! -
Delphi 10.4.2 Right Click over a word -> Find Declaration, Not working.
ConstantGardener replied to Juan C.Cilleruelo's topic in Delphi IDE and APIs
+1000- 45 replies
-
- 10.4.2
- find declaration
-
(and 1 more)
Tagged with:
-
Migration from BDE paradox to TFDtable or other options
ConstantGardener replied to Javier TarÃ's topic in Databases
...have a Look at NexusDb