Jump to content

weabow

Members
  • Content Count

    90
  • Joined

  • Last visited

Community Reputation

6 Neutral

About 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.

  1. 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 ?
  2. weabow

    XCode with Delphi 12.3

    It's just an issue deploying on Android 🙂
  3. weabow

    XCode with Delphi 12.3

    Thanks a lot.
  4. weabow

    XCode with Delphi 12.3

    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
  5. 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 ?
  6. weabow

    Unicode UTF8 with coded char to char

    Runs fine : thanks a lot
  7. 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 ?
  8. I have a TImage in which I use the KeyDown event. But if I set the DragMode in Automatic, Keydonw is no longer fired. An idea ?
  9. weabow

    TButton : change backgroundcolor

    I've found it : thanks a lot
  10. weabow

    TButton : change backgroundcolor

    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 ?
  11. weabow

    TButton : change backgroundcolor

    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 ?
  12. weabow

    Help with Thread on FMX

    Very technical answer : it helps a lot. Thanks
  13. weabow

    Help with Thread on FMX

    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.
×