-
Content Count
312 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Patrick PREMARTIN
-
It's now official : FMX Linux is back in GetIt for developers with Enterprise and Architect licenses under subscription. Current version available is 1.78 (the same for 12 and 12.1 Athens) but it will be maintained and evolve in the future. https://blogs.embarcadero.com/fmx-linux-for-delphi-12-3-is-now-available/
-
Did you installed it from GetIt or as a standalone program downloaded from https://my.embarcadero.com ? In the first case it should say the patch has been installed. In the second not. https://blogs.embarcadero.com/rad-studio-12-3-april-patch-available/ If you have FireMonkey projects on Mac/iOs, try to connect the IDE to PAServer. The patched version needs an update (the file is in the catalog repository folder of the patch).
-
How can you list all the datasources linked to a dataset?
Patrick PREMARTIN replied to PiedSoftware's topic in VCL
thanks -
Cannot install 12.3 to fresh Win11 VM - Error message is "Python37.zip" is in use or not enough disk space"
Patrick PREMARTIN replied to Stuart Clennett's topic in Delphi IDE and APIs
If you need to upgrade Windows 11 on this "old" VM it's possible even if Microsoft says "this system is too old, Windows Update can't be used anymore". I found how to do it on Parallels forum and can explain how to do it there. -
How can you list all the datasources linked to a dataset?
Patrick PREMARTIN replied to PiedSoftware's topic in VCL
Ah, yes, I've forgotten that. So no other solution than RTTI or checking all components in loops. Mark, you're probably not the first one in 30 years to want to access it. Perhaps you can open a "new feature" request on https://qp.embarcadero.com asking for having DataSources[] (read only) and DataSourceCount public properties on TDataSet ? (and explain why you need them) -
How can you list all the datasources linked to a dataset?
Patrick PREMARTIN replied to PiedSoftware's topic in VCL
Perhaps you can try to access it from a helper on TDataSet... -
Developpez.com blocks some external site like Google Translate. Only the translation included in the web browser can work.
-
Where can I download RAD Studio 12.3 help?
Patrick PREMARTIN replied to alank2's topic in Delphi IDE and APIs
The help is an install option, like the samples. Restarting the installer or Tools / Manage Features allow to install/uninstall them. You can also go to https://docwiki.embarcadero.com/docs/products/rad_studio/ if you just want the help files on an other computer and don't have access to the online DocWiki -
I've just created a sample project to illustrate what you can do. Check https://github.com/DeveloppeurPascal/Delphi-samples/tree/main/FireMonkey-Samples/027-StylesAndEXESize Screen samples are good for understanding how to use visual component stacking, layout and alignment, but not necessarily for organising things. Never put styles on forms but rather on data modules, like database components or image lists used by several files. This is something you learn as you use it, which you can read about in certain corners of the documentation or in the many books full of good practices. Unfortunately, it's difficult to add a comment in the examples, but a good idea for improvement.
-
Hi The things you do in the form editor is embed as a resource in the programs. If you fill your styles with more than one platform they are all embed in it. The solution is to use TDataModule as a TStyleBook container. One per platform or per platform/style. In the TDataModule unit, simple use compiler defines to compile or not the data module class depending on MSWINDOWS, ANDROID, IOS, MACO or LINUX defines. Condition the implementation the same way you do for the interface. In your code, do the same for the uses of these units and of course to enable or not the styles you want to use. It's a little work but it's easy to do and avoid having too big EXE/APK/IPA/APP files.
-
Some questions about password input and TDialogService
Patrick PREMARTIN replied to pquessev's topic in FMX
It was my second point, I've updated the post. -
I'm glad to see that my videos are sometimes useful. 😉
-
[Solved] FireDAC Encryption (FDE) Issue with SQLite 3.31.1+ in RAD Studio 12.3 - Access Violation
Patrick PREMARTIN replied to FT_Uhu's topic in Databases
Good to know. In projects used in older Delphi releases (or for open source) I suggest to replace the unit by this code if you still use FireDAC Encryption for SQLite : {$IF CompilerVersion >= 36.0} // Delphi 12 Athens FireDAC.Phys.SQLiteWrapper.FDEStat, {$ELSE IF CompilerVersion >= 34.0} // Delphi 10.4 Sydney FireDAC.Phys.SQLiteWrapper.Stat, {$ELSE} FireDAC.Phys.SQLiteWrapper, {$IFEND} -
Some questions about password input and TDialogService
Patrick PREMARTIN replied to pquessev's topic in FMX
Modifying standard units can be a source of problems when you install a new update or major release. It's better you add your own implementation. In FMX it's simple : - ShowModal of a form for Windows, Mac, Linux - For iOS / Android, using a Rectangle for the background (to catch the click events) and your design in front of it. A TFrame shown with an alignment contains and it's done. You can also use https://github.com/andrea-magni/TFrameStand which have dialog box samples. -
Embarcadero quality Portal Status "Ready for Validation"
Patrick PREMARTIN replied to CB2021's topic in General Help
... or less, it depends on the subjects -
Drawing forms according to screen size is a nice feature when targeting a particular device model, but if it's for the general public, don't use it. FMX uses the source screen with the same width/height for a specified OS. Just 2 pixels wider and it returns to the default view (according to tests I did a long time ago). It's preferable to draw our screens using the numerous layouts (grid, flow, layout) and alignments. Think responsive, like for a web page. If you draw your screen by pixel, use a TScaleLayout as a global container. It has a virtual size and a real size. You can use it to adapt the size of your content or add a zoom in / zoom out feature. Look a "screens" samples in GetIt to see how Embarcadero suggest to use those features for classic screens in a mobile app.
-
Embarcadero quality Portal Status "Ready for Validation"
Patrick PREMARTIN replied to CB2021's topic in General Help
You submitted an issue. Now it's in the hands of Embarcadero quality team and project managers. Someone will check your issue and try to reproduce it. Depending on the result, it will be opened, closed or they will send you a question about what your case. -
[Solved] FireDAC Encryption (FDE) Issue with SQLite 3.31.1+ in RAD Studio 12.3 - Access Violation
Patrick PREMARTIN replied to FT_Uhu's topic in Databases
Hi I use SQLite with FDE and haven't any problem on the projects I compiled or tested on 12.3 Athens. For which platform do you have the violation access exception ? Can you reproduce it on a short project ? -
Job Bruxelles hybride
Patrick PREMARTIN replied to Piazza's topic in Job Opportunities / Coder for Hire
It's not encrypted. It's in French. 😉 (I can show the PDF with macOS viewer, you should be able to read it) -
Job Bruxelles hybride
Patrick PREMARTIN replied to Piazza's topic in Job Opportunities / Coder for Hire
Ok. Don't hesitate to let me know directly if anything changes, I occasionally get requests from French-speaking Delphi developers looking for positions. I can share without any problem. -
Job Bruxelles hybride
Patrick PREMARTIN replied to Piazza's topic in Job Opportunities / Coder for Hire
Thanks for sharing. Do you want I post it on my LinkedIn account ? -
Is it worth building desktop applications with all these web frameworks?
Patrick PREMARTIN replied to Rolphy Reyes's topic in Project Planning and -Management
For me, the generic answer would be "no", but you have to look at the use, the need and adapt. A lot of software goes online for reasons of maintenance and “simplified” access everywhere. If your software needs to be used from smartphones and desktops, the simplest solution will always be the website (even if it's sometimes complicated to do, even with tools available for Delphi developers). -
Great you found a solution, but strange you needed it.
-
Delphi 12.3 Android deploy - ERROR styleAppTheme.Base not found
Patrick PREMARTIN replied to Mauro Botta's topic in FMX
Hi I don't know what is come from, but don't you have a file style/apptheme.base in the Project/Deployment wizard for your Android platform ? -
RAD Programmer Coding Challenge #1 - build a MineSweeper game in RAD Studio with a chance to with $500
Patrick PREMARTIN replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
When you publish a game in this challenge or in general, don't forget to add "delphi-game" topic to be listed in https://github.com/topics/delphi-game "delphi", "gamedev", "game-development" and "game-source" are welcome too for showing to the other game developers that Pascal and Delphi are available for game programming.