-
Content Count
2017 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
You'll not have the drink Kimi
-
Any advice when to use FileExists?
Attila Kovacs replied to Mike Torrettinni's topic in General Help
in the very next second it could have the rights and vice versa -
this looks strange, even a logical control hierarchy is missing, otherwise they would be cropped on the bottom you should try using alignments instead of fixed positions
-
or you have a common form with some extra methods 🙂
-
I'd still go with compressionmode 1 and 25sec instead of 18% better compression and almost twice the time. HDD is cheap, time isn't.
-
the one I just downloaded.... must be the latest
-
downloaded and installed zipforge, pretty same as W10
-
I did not believe those numbers so I did it myself. source enwik9.zip http://mattmahoney.net/dc/textdata.html compression routine zf := TZipFile.Create; zf.Open('MyFile.zip', zmWrite); zf.Add('enwik9', '', zcDeflate); zf.Close; But, I don't know what TZipFile is using, own code or winapi.
-
We are not discussing here how to free a form, I'm always using caFree which is not part of the question.
-
how would you do this? Pass API params from UI into API unit
Attila Kovacs replied to David Schwartz's topic in General Help
in this case you need a wrapper unit with either making a gateway or extending the API with helpers -
bullshit
-
I would not bother with the constructor just add a method for setup and show: procedure TTracksAddEditForm.ShowForm(const AsMode: string; AiAlbum: integer; const AsTrack: string); begin FsMode := AsMode; FiAlbum := AiAlbum; // or set the controls directly FsTrack := AsTrack; Show; end; use it: TTracksAddEditForm.Create(Self).ShowForm('Insert', blah, buh); or for showmodal function TSomeValueReturningForm.ShowForm(var AVar: string): TModalResult; begin FVar := AVar; Result := ShowModal; AVar := FVar; end; use it: lStringVar := 'Initialvalue'; case TSomeValueReturningForm.Create(Self).ShowForm(lStringVar) of mrOk: DoSomething(lStringVar); else Whatever... end; the variable var TracksAddEditForm : TTracksAddEditForm; is only needed if the forms are created with Application.CreateForm() by the dpr itself. Otherwise it should be deleted immediately.
-
reintroduce is missing
-
are you really using "Show" ?
-
Difficulty with component installation
Attila Kovacs replied to Bill Meyer's topic in Delphi Third-Party
this is a joker error message from the IDE, it can be anything, path, old binaries in the path, missing dependencies, etc... fire up a process monitor and filter for bds.exe maybe you have luck and you can see it -
SynPdf - wrong colors in PDF export
Attila Kovacs replied to Vandrovnik's topic in Delphi Third-Party
can synpdf 1A? -
SynPdf - wrong colors in PDF export
Attila Kovacs replied to Vandrovnik's topic in Delphi Third-Party
Those bitmaps are set up diffeently, like pf32bit / pf24bit who knows what else? Could you check them with the same setup? -
@aehimself I don't get it. I just created a new VCL Form Application plus designed two new frames, then added frame2 to frame1, without creating a custom component. What is the concept behind creating a compound component from a frame? You can also add code to the base frame and override it in the other places. I don't know any Bar Managers except Gunther, but to make a component fill up a given space is normally done with alignment.
-
just being the smart*ss, why are you mixing composite components with frames? can't you just put a frame onto an another frame?
-
you could still put some explicit logging into your application to see where this 14 seconds delay is coming from instead of guessing
-
you could start here https://docwiki.embarcadero.com/RADStudio/Sydney/en/Components_and_Ownership
-
I'm not sure if I can talk the english you understand. I'm telling the same. Except, there is no encryption software, it's hardware encrypted. The software only mounts the flash drive's 2nd partition with the entered password's hash. see https://www.verbatim.com/prod/usb-drives/professional-usb-drives/store-n-go-secure-pro/
-
No, it has nothing on it, they are out of the box, the same as you are describing. Two partitions, one CD, one hardware encrypted. They exists very well nowadays too.
-
Strange, all encrypted flash drives are autostarting its mounting application, they must be distributing themselves as CD-ROM.
-
Your button texts are colorful, that means you have visual styles turned off, but it's needed to show texthint