|
|
|
#1
|
||||
|
||||
|
Quote:
after making a few changes to the code, you can make it work. however, if i'm correct, there're some aspects in the script that need further implementation. it would be better to ask the authors to complete the script. ![]() Code:
Edit1:
* Replace the current 'ListBoxOnChange' code with this.
procedure ListBoxOnChange(Sender: TObject);
var
ADir: String;
begin
if (FMXListBox[2].GetItemIndex > -1) then
begin
ADir := FMXEdit[1].GetText;
StringChange(ADir, ExtractFileDrive(ADir), FMXListBox[2].GetItemText(FMXListBox[2].GetItemIndex));
FMXLabel[197].Text(MinimizePathName(ADir, WizardForm.DirEdit.Font, WizardForm.DirEdit.Width));
FMXEdit[1].Text(MinimizePathName(ADir, WizardForm.DirEdit.Font, WizardForm.DirEdit.Width));
WizardForm.DirEdit.Text:= ADir;
FMXDiskUsage.SetDir(WizardForm.DirEdit.Text);
FMXLabel[82].Text(MbOrTb(FMXDiskUsage.FreeSpace, 1));
FMXLabel[85].Text(MbOrTb(FMXDiskUsage.FreeSpace, 1) + ' is available from the selected drive');
FMXArc[5].Angle(FMXDiskUsage.FreeSpace, FMXDiskUsage.TotalSpace);
end;
end;
procedure ListBx3OnChange(Sender: TObject);
var
ADir: WideString;
begin
if FMXListBox[3].GetItemIndex > -1 then
begin
ADir:= ExtractFileDrive(FMXEdit[1].GetText) + '\' + AddBackslash(FMXListBox[3].GetItemText(FMXListBox[3].GetItemIndex)) + '{#MyAppName}';
FMXLabel[197].Text(MinimizePathName(ADir, WizardForm.DirEdit.Font, WizardForm.DirEdit.Width));
FMXEdit[1].Text(MinimizePathName(ADir, WizardForm.DirEdit.Font, WizardForm.DirEdit.Width));
WizardForm.DirEdit.Text:= ADir;
FMXDiskUsage.SetDir(WizardForm.DirEdit.Text);
FMXLabel[82].Text(MbOrTb(FMXDiskUsage.FreeSpace, 1));
FMXLabel[85].Text(MbOrTb(FMXDiskUsage.FreeSpace, 1) + ' is available from the selected drive');
FMXArc[5].Angle(FMXDiskUsage.FreeSpace, FMXDiskUsage.TotalSpace);
end;
end;
Code:
Edit2: * Comment out the following line in the code. //FMXEdit[1].OnChange(@ListBoxOnChange); Code:
Edit3: * Replace the ListBoxOnChange event with ListBx3OnChange for the FMXListBox[3]. FMXListBox[3].OnChange(@ListBx3OnChange); Last edited by BLACKFIRE69; 14-07-2024 at 02:12. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
Thank you for your quick reply, but even with the edit's codes, I am still facing the same problem. Are there any problems for you with these codes in the script?
__________________
Search and Find |
|
#3
|
||||
|
||||
|
In the first test, my partitions and folders were not displayed at all, and by adding codes, I only encountered errors.
__________________
Search and Find |
|
#4
|
|||
|
|||
|
Weird... I installed the font to my system and now all is fine
![]() Sorry for the issues! Inno isn't my thing... |
|
#5
|
||||
|
||||
|
Quote:
Yes, it worked this time The path selection section works correctly, except that it does not show C drive folders for the first time, but the important thing is that the path can be selected. and add folder button works too. can you share the iss file?
__________________
Search and Find Last edited by ADMIRAL; 16-11-2023 at 09:56. |
| The Following User Says Thank You to ADMIRAL For This Useful Post: | ||
audiofeel (16-11-2023) | ||
|
#6
|
|||
|
|||
|
Everything is great and good, only I saw 2 big problems, one of them did not have the date of the watch
2. When I chose the installation location, it wrote the volume on the image, it wrote the same. 2. There were only problems, thanks for your good script |
| The Following User Says Thank You to Jahan1373 For This Useful Post: | ||
audiofeel (16-11-2023) | ||
|
#7
|
||||
|
||||
|
Quote:
and you missing the music button and counter app running.
|
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (16-11-2023) | ||
|
#8
|
||||
|
||||
|
FMXInno - Nov-16 - Hotfix-01
Code:
1. Added wGetRunningAppCount on the request of @hitman797. 2. Added missing properties and fixed bugs reported by @audiofeel and @tihiy_don. 3. Some improvements. i'll update the first article soon. . Last edited by BLACKFIRE69; 22-01-2024 at 21:53. |
|
#9
|
||||
|
||||
|
Quote:
if we make GUI to this library that will help the authors to save a lot of time. ![]() for the lock screen Code:
HeadForm.OnActivate(@OnActivate); HeadForm.OnDeactivate(@OnDeactivate); Code:
procedure OnActivate(Event: TNotifyEvent); procedure OnDeactivate(Event: TNotifyEvent); Last edited by hitman797; 16-11-2023 at 11:06. |
| The Following 2 Users Say Thank You to hitman797 For This Useful Post: | ||
audiofeel (16-11-2023), BLACKFIRE69 (16-11-2023) | ||
|
#10
|
||||
|
||||
|
Quote:
my apologies; you've requested this before, and though i had it in mind, it appears i forgot about it. ![]() Code:
1. Added OnActivate and OnDeactivate events to lockscreen. 2. Added wGetUserCountryName function. Last edited by BLACKFIRE69; 22-01-2024 at 21:54. |
|
#11
|
||||
|
||||
|
Quote:
As I said before, the test you sent works Can I have your iss file?
__________________
Search and Find |
|
#12
|
||||
|
||||
|
Again, I tried to change the redirection section similar to the photo by simulating the codes, but again it was useless because the coding method is different in both.
__________________
Search and Find |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
| Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |