#451
|
||||
|
||||
Maybe it's because of the localization of the system?
![]() Last edited by crachlow; 27-08-2023 at 11:44. |
Sponsored Links |
#452
|
||||
|
||||
![]() Quote:
i just updated it. it may work. Quote:
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; . Last edited by BLACKFIRE69; 14-07-2024 at 02:03. |
#453
|
||||
|
||||
Quote:
__________________
https://t.me/FMXInno |
The Following User Says Thank You to audiofeel For This Useful Post: | ||
BLACKFIRE69 (28-08-2023) |
#454
|
||||
|
||||
Quote:
User Unknown
__________________
https://t.me/FMXInno |
#455
|
||||
|
||||
Quote:
case IsAdminLoggedOn of 0: UserTypeStr := 'Group Users'; 1: UserTypeStr := 'Group Administrators'; and GetUserNameString; from innosetup works more correctly. In Russian localization UserInfo.UserType, and maybe in others, does not work at all, it is also difficult to determine by sid, because sid will be different in different localizations. |
#456
|
||||
|
||||
Quote:
Code:
{Setup] ... PrivilegesRequired=admin ---> 'Admin' (IsAdminLoggedOn is True) PrivilegesRequired=lowest ---> 'Standard' (IsAdminLoggedOn is False) |
#457
|
||||
|
||||
Windows 11 Style
Does anyone have the black and white 'Windows11' style in 'FMXInno' that works really and correctly? I found a couple of styles. One is very good (displays the Switch and CheckBox in the correct size, and not small like other options). But unfortunately it has 'Right Border and LeftBorder' (I can't edit it in text style.) . That is, there will be artifacts around the edges.
![]()
__________________
https://t.me/FMXInno Last edited by audiofeel; 27-12-2023 at 10:07. |
#458
|
||||
|
||||
Quote:
FMX Styles Windows 11 for VCL VCL Styles |
#459
|
||||
|
||||
Quote:
__________________
https://t.me/FMXInno |
The Following User Says Thank You to audiofeel For This Useful Post: | ||
hitman797 (29-08-2023) |
#460
|
||||
|
||||
There is no style for Windows 11 for FMX only Windows 10.
|
#461
|
||||
|
||||
Quote:
https://i.ibb.co/qkTghLR/2023-08-30-124000.png https://i.ibb.co/bbzydjt/2023-08-30-124232.png https://i.ibb.co/Sv5fvDg/2023-08-30-124405.png PrivilegesRequired=admin ---> 'Admin' (IsAdminLoggedOn is True) PrivilegesRequired=lowest ---> 'Standard' (IsAdminLoggedOn is False) it's not the same Last edited by crachlow; 30-08-2023 at 05:09. |
#462
|
||||
|
||||
![]()
FMXInno - Updates : [2023-August-31]
Code:
* Added TImageList. * Added TSpeedButton. * Added TCornorButton. * Added TMultiView. * Added TShadowTextClassic. * Added new functions. * Added new properties. * Included the fix for the 'white-square' issue during loading. - Don't forget to call the 'FMXForm.Show' after the 'FMXDesigning' procedure. * Fixed DrawFrame. * Some improvements and bug fixes. Quote:
now we've the 'TShadowTextClassic' class, which allows users to change the position(X, Y) of the shadow. Code:
procedure Shadow(FColor: TAlphaColor; OffsetX, OffsetY: Single); Quote:
i've added three new functions to help accomplish this. Code:
function wGetSysDefaultIcons(const Src: WideString; SHLIcoSize: Cardinal; const Buffer: PAnsiChar; var Count: Cardinal): Integer; function wGetSysDefaultIcons2(const Src, OutImgFile: WideString; SHLIcoSize: Cardinal): Boolean; function wGetSysDefaultIconsSize(const Src: WideString; SHLIcoSize: Cardinal): Integer; Code:
const SHL_ICO_SZ_LARGE = $0000; // 32x32 pixels. SHL_ICO_SZ_SMALL = $0001; // 16x16 pixels. SHL_ICO_SZ_EXTRALARGE = $0002; // 48x48 pixels. SHL_ICO_SZ_SYSSMALL = $0003; // SM_CXSMICON x SM_CYSMICON pixels. SHL_ICO_SZ_JUMBO = $0004; // 256x256 pixels. (Windows Vista and later.) you'll find an example for this in the attachment at the moment, if i extract icons from a windows ResDll using an index, then those icon files will only be '32x32' in maximum size. so let's use above functions. Example: Code:
{ GetSysDefaultIcons } if wGetLogicalDriveList(ADrvLst, CDrvIdx) then begin ASrc[1] := ADrvLst[CDrvIdx]; ASrc[2] := ADrvLst[Length(ADrvLst) -1]; end else begin ASrc[1] := 'C:\'; if wIsDriveValid('D:\') then ASrc[2] := 'D:\' else if wIsDriveValid('E:\') then ASrc[2] := 'E:\' else if wIsDriveValid('F:\') then ASrc[2] := 'F:\' else if wIsDriveValid('G:\') then ASrc[2] := 'G:\' end; ASrc[3] := 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'; ASrc[4] := 'C:\Users\' + AddBackslash(GetUserNameString) + 'Desktop'; ASrc[5] := 'C:\Users\' + AddBackslash(GetUserNameString) + 'Downloads'; ASrc[6] := 'C:\Users\' + AddBackslash(GetUserNameString) + 'Documents'; P := 0; Q := 0; Code:
for i := 1 to C_RANGE do begin if i = (C_RANGE div 2) + 1 {i =4} then begin P := 0; Q := 160; end; AImage[i].FCreate(FMXForm.Handle); AImage[i].SetBounds(NSX(P + 80), NSY(Q + 80), NSX(100), NSY(100)); #ifdef AMethod1 /* Extract SysDefaultIcons into a Buffer, then load them into AImage[i] */ ImgSize[i] := wGetSysDefaultIconsSize(ASrc[i], SHL_ICO_SZ_JUMBO); if ImgSize[i] <> -1 then begin SetLength(Buffer[i], ImgSize[i]); if wGetSysDefaultIcons(ASrc[i], SHL_ICO_SZ_JUMBO, Buffer[i], Count[i]) <> -1 then AImage[i].LoadPictureFromBuffer(Buffer[i], Count[i], wmTileStretch); end; #else /* Extract SysDefaultIcons into the TmpDir, then load them into AImage[i] */ ImgFile[i] := ExpandConstant('{tmp}\') + IntToStr(i) + '.png'; if wGetSysDefaultIcons2(ASrc[i], ImgFile[i], SHL_ICO_SZ_JUMBO) then begin AImage[i].LoadPicture(ImgFile[i], wmTileStretch); end; #endif P := P + 150; end; { GetSysDefaultIcons } 'LoadImgFromBuffer' is only supported by the 'FImage' control. Other controls will get this support in future updates. ------------------------------------------------------------------------------------------------------------------------------ Quote:
The first post has been updated. . Last edited by BLACKFIRE69; 14-07-2024 at 02:03. |
The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
#463
|
||||
|
||||
![]()
HotFix: 01
- Fixed for Windows 10 Users. . Last edited by BLACKFIRE69; 02-09-2023 at 09:09. |
#464
|
||||
|
||||
Opacity
If someone wants to get a translucent object, but the transparency is passed to the objects in the object. How to be?
Perhaps the "already transparent color" from this tool will help. HTML CSS Color picker Is it possible to somehow see how different effects will look like overlaying on the image? It's like this - FireMonkey Image Effects Is it possible to somehow see how different filters will look like overlaying on objects? It's like this - FMX Filter Effects
__________________
https://t.me/FMXInno Last edited by audiofeel; 27-12-2023 at 10:07. |
#465
|
|||
|
|||
@Mr.BlackFire69
There seems to be few issues that might need your attention: 1. If you open the Directory Dialog Box second time, the fluent effect is disabled at certain sections (Please find the photo at the link) Can we make the Directory box editable? 2. Padding and margins are not working on FMemo. I want the content inside FMemo to be padded at certain distance which doesn't seem to be working 3. There is also one issue with the FToggleCheckbox. IsPressed is not working. 4. Can you also enable OnChange method on FToggleCheckbox? This will be similar to FCheckbox Event. Onclick gives me before Event. It gives me the previous value before clicking. I need after Event, like after changing the toggle value of Checkbox what is the current value? 5. Is there a way to bring the Video file in the background and display text over it? Last edited by Fak Eid; 31-08-2023 at 06:25. |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |