![]() |
I'm getting so far, but I think I've hit a roadblock. When compiling, the following line of code hits an error with invalid number of parameters. I have determined this to be "PreviousFileCount: Integer;" but please may somebody explain what this means? I will try to fix that.
Code:
VerifyHashesFromFile(ExpandConstant('{app}\_Verify\kaos.blake3'), ExpandConstant('{app}\_Verify'), 11, False, @VerifyHashMultiCallback);Code:
function VerifyHashesFromFile(ChecksumFile, BasePath: WideString; HashAlgo, PreviousFileCount: Integer; LogFile: Boolean; Callback: TMultiHashCallback): Integer;MinimizeWindowCustomAnimated(FMXForm.HandleHWND, 50, 50, 40, 15); As the new function only takes 2 parameters. |
Quote:
Code:
VerifyHashesFromFile(ExpandConstant('{app}\_Verify\kaos.blake3'), ExpandConstant('{app}\_Verify'), 11, 0,False, @VerifyHashMultiCallback);Code:
function VerifyHashesFromFile(ChecksumFile, BasePath: WideString; HashAlgo, PreviousFileCount: Integer; LogFile: Boolean; Callback: TMultiHashCallback): Integer;Quote:
Code:
typeCode:
MinimizeWindowCustomAnimated(mapTop); |
Quote:
Using this parameter, the total number of files will be displayed correctly when entering the value from the previous call. Code:
VerifyHashesFromFile(ExpandConstant('{app}\_Verify\kaos.blake3'), ExpandConstant('{app}\_Verify'), 11, 0, False, @VerifyHashMultiCallback); |
Sorry to keep asking, but now I've got a Type Mismatch for the following lines:
<button>.OnMouseDown(@CommonButtonDown); <button>.OnMouseUp(@CommonButtonUp); It seems that OnMouseDown/OnMouseUp are both TMouseEventF whereas CommonButtonDown/Up is a procedure. Is this the cause of the error? Apologies for asking so much! :o |
Quote:
Code:
procedure OnMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Single);Code:
TMouseEventF = procedure(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Single); |
2 Attachment(s)
hi, @BLACKFIRE69 can you add this class to the FMXInno.
this class is VCL component in unite VCL.FileCtrl. I use unite FMX.Platform.Win to Handle the VCL component in FMX Form. I made example in delphi. THANK YOU. Win 3.1: Code:
hDrive: TDriveComboBox;Code:
procedure ListBoxItemClick(const Sender: TCustomListBox;Code:
GetText |
Quote:
sorry for the delayed response; i've been quite busy these past few days and, to be honest, i haven't had a good night's sleep in two days. :o it seems that the wGetLogicalDriveList function doesn't function as expected in InnoSetup v5.x. however, the FLogicalDrives class works reliably across all scenarios and has undergone thorough testing. Code:
typeCode:
{ Drive Media Type }Code:
{ LogicalDrives }. |
2 Attachment(s)
System.SysUtils and System.IOUtils Unite:
Code:
procedure TForm8.Button1Click(Sender: TObject); |
2 Attachment(s)
Code:
procedure TDialogForm.Button1Click(Sender: TObject); |
Testing
Testing:
guys, if any of you happen to have some free time and are using virtual machines other than VMware 17.x, could you please test this on them? https://i.ibb.co/GtSV1rL/01.png Quote:
|
Quote:
|
FMXInno - Updates
FMXInno - Updates
Code:
FMXInno - ChangesTreeView + MainMenu: Code:
{ MainMenu }Code:
{ TreeView 1 - Left }Code:
{ TreeView 2 - Right }. |
2 Attachment(s)
Quote:
Code:
procedure TDialogForm.Button1Click(Sender: TObject);Code:
function Length(S: String): Longint;System.IOUtils: Code:
function TDirectory.GetFiles(const Path: string): TStringDynArray;Code:
procedure ListBoxItemClick(const Sender: TCustomListBox;Code:
function GetText: WideString; |
Quote:
i think you may not have noticed that FMXInno has already included these things. Quote:
Code:
varQuote:
Code:
varQuote:
Code:
beginQuote:
Code:
procedure ListBoxOnChange(Sender: TObject); |
Update first post please. I also ask you to mark the version that indicates this update.
|
| All times are GMT -7. The time now is 07:26. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com