Jump to content

Patrick PREMARTIN

Members
  • Content Count

    312
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Patrick PREMARTIN

  1. Patrick PREMARTIN

    fmxLinux missing?

    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/
  2. Patrick PREMARTIN

    April 2005 patch to 12.3

    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).
  3. Patrick PREMARTIN

    How can you list all the datasources linked to a dataset?

    thanks
  4. 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.
  5. Patrick PREMARTIN

    How can you list all the datasources linked to a dataset?

    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)
  6. Patrick PREMARTIN

    How can you list all the datasources linked to a dataset?

    Perhaps you can try to access it from a helper on TDataSet...
  7. Patrick PREMARTIN

    FMX learning resources?

    Developpez.com blocks some external site like Google Translate. Only the translation included in the web browser can work.
  8. Patrick PREMARTIN

    Where can I download RAD Studio 12.3 help?

    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
  9. Patrick PREMARTIN

    Styles bloating final packages

    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.
  10. Patrick PREMARTIN

    Styles bloating final packages

    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.
  11. Patrick PREMARTIN

    Some questions about password input and TDialogService

    It was my second point, I've updated the post.
  12. Patrick PREMARTIN

    FMX views: Which one is applied?

    I'm glad to see that my videos are sometimes useful. 😉
  13. 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}
  14. Patrick PREMARTIN

    Some questions about password input and TDialogService

    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.
  15. Patrick PREMARTIN

    Embarcadero quality Portal Status "Ready for Validation"

    ... or less, it depends on the subjects
  16. Patrick PREMARTIN

    FMX views: Which one is applied?

    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.
  17. Patrick PREMARTIN

    Embarcadero quality Portal Status "Ready for Validation"

    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.
  18. 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 ?
  19. Patrick PREMARTIN

    Job Bruxelles hybride

    It's not encrypted. It's in French. 😉 (I can show the PDF with macOS viewer, you should be able to read it)
  20. Patrick PREMARTIN

    Job Bruxelles hybride

    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.
  21. Patrick PREMARTIN

    Job Bruxelles hybride

    Thanks for sharing. Do you want I post it on my LinkedIn account ?
  22. 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).
  23. Patrick PREMARTIN

    How to sign .msix packages

    Great you found a solution, but strange you needed it.
  24. Patrick PREMARTIN

    Delphi 12.3 Android deploy - ERROR styleAppTheme.Base not found

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