-
Content Count
86 -
Joined
-
Last visited
Posts posted by weabow
-
-
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 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 ?
-
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
-
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.
-
Yes it does for me...
-
Runs fine. Thanks a lot !
-
No way for me to have the
TFDPhysSQLiteDriverLink
with those uses... Can't find library
-
-
Of course !
Thanks a lot
-
Hi there,
I've installed Athens, so of course I lost all my configuration, and above all, the types of messages printed in the output frame.
I do not need all these informations, that "mask" my own informations. So in previous version I've arrived to control the output, but I can't arrive to do it on Athen.
Where do I decide what appears in the output frame ?
Typically, all the std messages during the use of the software are too mutch to me. I'd like to output only the messages I decide to output.
-
My app runs with sqlite and uses 2 files, stored in deployment page for MacOs like that :
libcgsqlite3.dylib in Contents\MacOs
libcgsqlite3_fde.dylib in Contents\MacOs
I have a Notarization error :
{
"severity": "error",
"code": null,
"path": "intelli7.app.zip/intelli7.app/Contents/MacOs/libcgsqlite3.dylib",
"message": "The signature does not include a secure timestamp.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087733",
"architecture": "x86_64"
},Any idea will be very appreciated...
Solution
The pb was that one of the libs had a path like that : c:\...\;
It needs a path like : $(BDS)\Redist\osx64\
So need to edit myapp.deployproj to change the path.
-
-
I think it depends on the OS target.
On Windows, I do not add any file
On Android, I add lib-native-activity.so
On MacOs I add libcdsqlite.dylib and libcrypto.dylib
On IOS I add ... nothing
On Linux I add ... nothing
But I'm not sure all these libraries concern SQLite
-
[SOLVED]
I've put on app boot a on the main form :
TFDPhysSQLiteDriverLink,
with the property :
EngineLinkage -> sIFDEStatic
Maybee an idea do do that from code ?
-
2
-
1
-
-
Thanks for your replies.
I've read the FireDAC SQLite Version Update and I understand I have to use option 3 : Continue using SQLite 3.31.1 or previous versions with FireDAC encryption (FDE).But I didn't see anywhere how to do that (sorry, it's not my best expertise).
What's the code I need to put and where ?
-
Hi there,
I've an app which runs fine on Delphi 11, using crypted (aes-256) SQLite db, throught FireDac.
This code no longer runs under Delphi 12.
An error is fired from FireDAC.Phys.SQLiteWrapper.pas, procedure TSQLiteDatabase.Key(const AKey: String);, line 2119 : if Assigned(Lib.Fsqlite3_key) then begin...
It seems that Lib.Fsqlite3_key is not assigned.
Any idea will be very appreciated...
-
Thank you Alexander. I will not hesitate one second...
-
It helps a lot. Thank you
-
Great. Thank you
-
Very interesting. Thanks a lot.
[SOLVED] TAlphaColors : what am I doing wrong ?
in FMX
Posted · Edited by weabow
error
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 ?