Jump to content

Patrick PREMARTIN

Members
  • Content Count

    310
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Patrick PREMARTIN

  1. Patrick PREMARTIN

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

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

    FMX learning resources?

    Developpez.com blocks some external site like Google Translate. Only the translation included in the web browser can work.
  6. 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
  7. 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.
  8. 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.
  9. Patrick PREMARTIN

    Some questions about password input and TDialogService

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

    FMX views: Which one is applied?

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

    Embarcadero quality Portal Status "Ready for Validation"

    ... or less, it depends on the subjects
  14. 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.
  15. 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.
  16. 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 ?
  17. 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)
  18. 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.
  19. Patrick PREMARTIN

    Job Bruxelles hybride

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

    How to sign .msix packages

    Great you found a solution, but strange you needed it.
  22. 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 ?
  23. 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.
  24. Patrick PREMARTIN

    How to sign .msix packages

    Yes for Microsoft Store : we don't have to sign the six files generated by Delphi if we choose the store deployment. But MSIX is a container like was APPX and Delphi generate one in RELEASE if we choose the "store" distribution and "adhoc" in the project options. Delphi try to sign by itself. I'm not sure the six file generated by this way is still valid. In the past I haven't any problem with Certum certificates for MSIX files but I haven't tried since I have a token and use my DProj 2 Win Setup which uses Inno Setup and Exe Bulk Signing programs to generate a signed installer from Delphi deployment wizard. In your command add the time stamping operation ("https://time.certum.pl" for Certum). It's better to have long term signatures on files even after your certificate expire.
  25. Patrick PREMARTIN

    Suggestions for new vendor of a delphi app?

    Hi @Paul Dardeau Strange Ian didn't answered. You're email or his answer has perhaps been filtered by an anti spam somewhere. If your software target specifically Delphi/C++Builder developers you can submit it on GetIt (as a trail version if you want). The submit form is on https://getitnow.embarcadero.com website. If you target SQLite users you enter in the search engines arena... and being seen is hard. You need a website for the software or you as editor and promote it like any website. Check forums and link sharing sites around development and databases. In some cases Product Hunt (and clones) site can help to have some users : https://www.producthunt.com Of course it's better if you fix the name of the software before sharing it or writing about it. To start selling (or distributing) you can use websites like Gumroad, LemonSqueezy and many others merchants of records ("MoR"). They sell (and bill the clients) for us. For the price, it depends a lot on what you want to get out of it, the potential customers and the interest the software can generate. It's pure marketing. The advantage is that you can give a bogus price right from the start and run a launch promotion at a test price that you can change whenever you like. Making source code available can be of interest to some users, and reassure others that the software will continue to operate in the event of a mishap at the publisher's premises. The disadvantage is that some users may prefer to compile it from the code repository, sometimes even appropriating it and reselling it under their own name. In the event of piracy or abuse, you need to be able to offer additional services (such as ebooks, video courses, technical support).
×