-
Content Count
90 -
Joined
-
Last visited
Community Reputation
6 NeutralAbout weabow
- Birthday 01/03/1960
Technical Information
-
Delphi-Version
Delphi 12 Athens
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Hi there, With Delphi latest version, I no longer can deploy on OSX, due to an error with PaServer. Investigating, I saw the problem : I want to deploy font files, saved with the project in a special folder : \fonts In the deployment screen, I have the font files properly set (It runs on previous version of Delphi). In app.dproj, I can find the paragraph for deploying my files : <DeployFile LocalName="fonts\Roboto-Regular.ttf" Configuration="Release" Class="File"> <Platform Name="OSX64"> <RemoteDir>Contents\Resources\Fonts\</RemoteDir> <RemoteName>Roboto-Regular.ttf</RemoteName> <Overwrite>true</Overwrite> </Platform> </DeployFile> If I want it to run fine with latest version, I need to add a \ before local font files path, like this : <DeployFile LocalName="\fonts\Roboto-Regular.ttf" Configuration="Release" Class="File"> <Platform Name="OSX64"> <RemoteDir>Contents\Resources\Fonts\</RemoteDir> <RemoteName>Roboto-Regular.ttf</RemoteName> <Overwrite>true</Overwrite> </Platform> </DeployFile> LocalName="fonts\Roboto-Regular.ttf" becomes LocalName="\fonts\Roboto-Regular.ttf", and then it deploys fine. Of course, it's the same problem with all the files to deploy. What am I doing wrong ?
-
It's just an issue deploying on Android 🙂
-
Thanks a lot.
-
Hi all, I'm going to upgrade to Delphi 12.3. As I develop for IOS and MacOs, which version of XCode compatible with Delphi 12.3, and above all with its PAServer ? Thanks
-
Fault is mine : no problem at all Hi there, I need to extract evry filed in TAlphaColor. Here's my sample code : var Red, Green, Blue, Alpha: byte; begin paletteColor:= TAlphaColorRec.Create(TAlphaColors.Blue) Alpha := paletteColor.A; Red := paletteColor.R; Green := paletteColor.G; Blue := paletteColor.B; My problem is that Alpha is OK (255), but other fields return 0 An idea ?
-
Runs fine : thanks a lot
-
Hi there, As an exemple, in a json, I push some data with accentuated chars like : é They appear in TJsonObject.ToString as : \u00E9 I'de like to convert those codes, into TJsonObject.ToString, to their original representation \u00E9 --> é I can't find any way to that. An idea ?
-
I've found it : thanks a lot
-
Thanks a lot. I'de like to have a class inheriting from TButton, under FMX Crossplatform. How may I set the controltype in this case ?
-
Hi there, I've now spend somme hours to try to change the Background Color of a TButton, or TSpeedButton, at run time. But no way ! An idea ?
-
Very technical answer : it helps a lot. Thanks
- 3 replies
-
- lag
- multithreading
-
(and 4 more)
Tagged with:
-
I'm not strong at threads, but have to use them due to crossplatform app. So : TThread.Synchronize is made to display something in the gui, surely. But I often prefer TThread.ForceQueue. After you have a lot of timers. In the past on Windows, that wasn't a good strategy. I'd prefer one timer with a switch. After you can use, I think, tthread.CreateAnonymousThread, but when you want it to do something to be displayed, you have to Synchronise, or ForceQueue, from this Anonymous thread. Also, if you have a variable in the main thread, and you want to change its value from Anonymous, you have to do it in a Synchronyse, from th Anonymous. And to finish, be careful of Android, which threads are a little bit differnet from the other plateforms. Hope this helps.
- 3 replies
-
- lag
- multithreading
-
(and 4 more)
Tagged with:
-
[SOLVED] Delphi 12, FireDac, SQLite : capability not supported
weabow replied to weabow's topic in Databases
Yes it does for me... -
[SOLVED] Delphi 12, FireDac, SQLite : capability not supported
weabow replied to weabow's topic in Databases
Runs fine. Thanks a lot !