Quote:
Originally Posted by crachlow
Dear Blackfire69. Could you clarify about FUserInfo. As you wrote in the examples, this is not quite suitable, at least for Windows 11. Unknown is displayed in it. If this function defines only the administrator from under the built-in account, and the user from the user group, then this is not entirely correct, probably. I tried to determine by type sid like this
But @audiofeel says it doesn't work, or it works intermittently.
And if the user, administrator rights? Whereas? Could you clarify this issue.
Maybe it's because of the localization of the system?
|
i just updated it. it may work.
Quote:
Originally Posted by audiofeel
...
I just changed the form to 'FCreateBlankForm'. A white square appeared again at startup, but without a glitch in 'FTabControl'.
|
this '
white square' issue can be bypassed. however, after doing so, you'll need to call '
FMXForm.Show' following the '
FMXDesigning' procedure;
otherwise, it won't display anything. if this solution works for you, i'll implement this fix in the
next update.
(
the DLL file in the example is in developer mode, so please refrain from using it in the main stream.)
if i specify the changes in the code:
Code:
procedure InitializeWizard();
begin
...
FMXDesigning;
// New - FMXInnoDev.dll: [2023-08-28]
Page1.Visible(False);
Page2.Visible(False);
Page3.Visible(False);
Page4.Visible(False);
Page5.Visible(False);
FMXForm.Show;
//
...
end;
procedure CurPageChanged(CurPageID: Integer);
begin
...
if CurPageID = wpWelcome then
begin
...
if FMXFirstRun then
begin
FMXFirstRun := false;
// New
//Page1.AnimDelay(0.5);
//
end else
Page1.AnimDelay(0);
...
end;
...
end;
.