|
|
|
#1
|
||||
|
||||
|
FLabel:
function GetText: WideString; don't work. FTimer: function GetObject: LongInt; FFloatAnimation: function GetObject: LongInt; Code:
procedure OnTimer6(Sender: TObject);
var
i: Integer;
FindHandle: Longint;
begin
FindHandle:= pFindFiles(FMXLabel[197].GetText, '*', '', ffrkRelative, False, True);
if FindHandle <> 0 then
begin
SetArrayLength(ListBoxItems, pDirCount(FindHandle));
FMXListBox[3].BeginUpdate;
try
for i:= 0 to pDirCount(FindHandle) -1 do
begin
ListBoxItems[i]:= InitListBoxItemHandle;
ListBoxItems[i].FCreate(FMXListBox[3].Handle);
ListBoxItems[i].Text(ExtractFileName(pPickDir(FindHandle, i)));
FMXListBox[3].AddItem(ListBoxItems[i].Handle);
end;
finally
pFindFree(FindHandle);
FMXListBox[3].EndUpdate;
end;
FMXTimer[6].Enabled(False);
end;
end;
Last edited by hitman797; 09-10-2023 at 11:50. |
| The Following 2 Users Say Thank You to hitman797 For This Useful Post: | ||
audiofeel (09-10-2023), Behnam2018 (11-10-2023) | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
in the next update of FMXInno, i'll add these missing properties. ![]() Quote:
try this way... Code:
procedure OnTimer6(Sender: TObject);
var
...
begin
FindHandle:= pFindFiles(FMXLabel[197].GetText, '*', '', ffrkOnlyName, False, True);
if FindHandle <> 0 then
begin
...
try
for i:= 0 to pDirCount(FindHandle) -1 do
begin
...
ListBoxItems[i].Text(pPickDir(FindHandle, i));
...
end;
finally
...
end;
...
end;
end;
|
| The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
|
#3
|
||||
|
||||
|
FMXInno Updates - [2023-Oct-10]
Code:
Changes: * If someone experiences flickering when switching between dark mode and light mode, it has now been fixed. * Added some missing properties. * Made some improvements. The first post has been updated. . Last edited by BLACKFIRE69; 14-07-2024 at 02:11. |
| The Following 6 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (09-10-2023), Behnam2018 (13-10-2023), hitman797 (09-10-2023), Lord.Freddy (10-10-2023), Tihiy_Don (10-10-2023), Wanterlude (13-10-2023) | ||
![]() |
| 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 |