#706
|
||||
|
||||
Quote:
, I think that the problem will disappear when deleting and the characters there are more interesting and even switches and checkboxes are there. I have one example where I didn't use the style for the checkboxes and made them through the font It looks something like this Code:
TObject(Page2CheckBox[1].GetObject): begin if Page2CheckBox[1].GetText = #$F16B then Page2CheckBox[1].Text(#$F16C) else Page2CheckBox[1].Text(#$F16B); if Page2CheckBox[3].GetText = #$F16C then begin Page3Lbl[3].SetText(CustomMessage('Page3Lbl3R')); Page3Lbl[4].SetText('{#RedistName}'); Exec(ExpandConstant('{src}\{#RedistPath}'), '{#RedistKey}', '', SW_HIDE, ewWaitUntilTerminated, ErrCode); end; end; Last edited by audiofeel; 07-09-2024 at 20:51. |
Sponsored Links |
#707
|
|||
|
|||
https://www.mediafire.com/file/58adn...dicam.rar/file
Hello friends, does anyone know a solution to this problem? There is a problem with the colors of this installation More than 20 colors have this problem The symbols and texts of this installation are not readable The creator of this script says go learn design Do you all know how to design on this forum? The designer of this script does not accept that there is a problem with the installation and says go learn design. I have uploaded the list of problematic colors. Please help to permanently solve this problem so that the colors of this script are correct. And read the texts of this installation in different colors Thanks to those who help |
#708
|
||||
|
||||
Quote:
well, * first of all, this isn't an error message; it's a warning message indicating that the font cannot be removed completely but only partially. * as @audiofeel mentioned, the font (segmdl2.ttf) you're using is a system font that is already installed in the system, hence this warning will be displayed. to avoid this issue: 1. 'InstallFMXFont' is intended for custom fonts, not system fonts. in a future update, i'll modify the DLL to prevent the installation of system fonts accidentally. 2. For the current situation, what you need to do is install your font file as a copy of the current system file. this simply means renaming your font file (segmdl2.ttf) to something else, such as 'segmdl2_New.ttf' or 'segmdl2_Copy.ttf', or any other name you prefer. this'll prevent the warning message from appearing. Code:
Rename: segmdl2.ttf >>> segmdl2_BF69.ttf [Files] ... Source: ".\Files\segmdl2_BF69.ttf"; DestDir: "{tmp}"; Flags: dontcopy; {Code] function InitializeSetup(): Boolean; begin InstallFMXFont(ExtractAndLoad('segmdl2_BF69.ttf')); FMXInnoInit; ... end; procedure DeinitializeSetup(); begin DeleteFMXFont(ExpandConstant('{tmp}\segmdl2_BF69.ttf')); ISArcExCleanUp; FMXInnoShutDown; end; * ISArcExCleanUp: regarding 'ISArcExCleanUp,' when you call the function 'ISArcExCleanUp,' it performs internal memory clean-up for the current process. this may include cleaning up the font memory cache, which could be why the warning message isn't displayed. however, it isn't recommended to call 'ISArcExCleanUp' before 'DeleteFMXFont'. |
The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
#709
|
||||
|
||||
Google translator
@BLACKFIRE69.A question about the Google translator. Why does he add extra characters to the translation? and the translation differs from the result of an online translator?
Here is my code. Code:
StatusLB.Text(GoogleTranslate('Welcome to Installation', 'en', 'ru')); Добро пожаловать в установку. And that's what happens through the function. Добро пожаловать%20to%20Установка And another question.... how do I get the language code where the installation is running? |
#710
|
||||
|
||||
Quote:
oh boy, are you serious? sorry to say this but you need to have common sense. yes, indeed, texts with a font color close to white is difficult to see on a white background or vice versa. so what's the magic here? Last edited by BLACKFIRE69; 07-01-2024 at 08:46. |
The Following User Says Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (07-01-2024) |
#711
|
|||
|
|||
Quote:
I mentioned the list of problematic colors, except for white and black, other colors have problems. I tested all the installed colors one by one. But the manufacturer just says that I have to learn to design. You are a designer If this problem is not solved, we will all face problems Why should green have a problem with white, but the manufacturer does not agree |
#712
|
|||
|
|||
Quote:
Why colors with a little white in them are not readable Why do some greens have problems? FF AD FF 2F FF FF FF 00 You are the great designers of the forum Why is there no such problem in similar facilities? |
#713
|
||||
|
||||
Quote:
Quote:
- green (FF 00 80 00) color is just fine. |
#714
|
||||
|
||||
Quote:
i can't believe this. there's no problem with the colors; the only thing is that some colors are hard to see on a white background. Please, grow up. 1. FF AD FF 2F 2. FF FF FF 00 . Last edited by BLACKFIRE69; 14-07-2024 at 03:15. |
#715
|
||||
|
||||
Quote:
To be honest, I don't really like the design of this installer, and for me it looks like an Indian painted bus (no offense, it will be said in front of our Indian friends, in our country everyone remembers who Indira Gandhi is). In this design, the buttons as well as the "dirdit" and "memo" are made in black. And this is the feature of this installer. Here is an example of the most vivid and successful selection of colors. Yes, for many it is probably a discovery that beautiful design is not only bright colors Use the online assistant for the selection of shades, there are many tools., you can even upload your own picture and display the average color or pick up shades. 1 - Create a gradient. 2 - Text and background color generator. 3 - Shade generator. 4 - Mixing colors. https://gradients.app/ru/newpalette Last edited by audiofeel; 07-01-2024 at 10:16. |
#717
|
|||
|
|||
Quote:
That part should always be black to be readable My problem was mostly only on Autoran's page. Thank you again. Good night my friend |
#718
|
||||
|
||||
Quote:
the decoding issue was fixed, but it seems like the translated output is incorrect. this is out of my hands because it's up to Google's APIs. we'll see what we can do about it. . Last edited by BLACKFIRE69; 14-07-2024 at 03:15. |
#719
|
||||
|
||||
- why are the %20 characters added when translating ?
- Because %20 is a space code I do not know what to do with it, to be honest |
The Following User Says Thank You to audiofeel For This Useful Post: | ||
hitman797 (08-01-2024) |
#720
|
||||
|
||||
Code:
StatusLB.Text(GoogleTranslate('Welcome+To+Installation', 'en', 'en')); Last edited by audiofeel; 07-01-2024 at 16:26. |
The Following User Says Thank You to audiofeel For This Useful Post: | ||
hitman797 (08-01-2024) |
Thread Tools | |
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 18:35 |
Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 14:04 |
INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 03:05 |
Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 10:48 |