Jump to content

Patrick PREMARTIN

Members
  • Content Count

    142
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Patrick PREMARTIN

  1. Patrick PREMARTIN

    A Memory Game in Delphi

    Hello. It's more a question of algorithm than language, in my opinion. Once you know how to organize the game, the display, the clicks on the elements, you'll have a multitude of solutions in Delphi. As for me, I have a FireMonkey version with a game whose board changes size depending on the game mode chosen. It's called Pairpix and here are the source codes (open today to answer your questions): https://github.com/DeveloppeurPascal/Pairpix You can have a look at it if you lack inspiration, but it won't be compilable (the images and other elements aren't public for copyright reasons). Generally speaking, a grid (a two-dimensional array) storing the number of the image and the images placed on the screen by looping over the grid (in X and Y) remains the simplest solution. To fill the grid have a 1D array or a List where you put your pairs (two elements with same image number). Use a random index to get them when you fill the grid and remove each element of the list when it has its place in the grid.
  2. Patrick PREMARTIN

    Unknown Delphi Version

    Hi. If you ned to check some versions numbers for a project, look at https://github.com/omonien/Delphi-Version-Information
  3. Patrick PREMARTIN

    Delphi 12 Update 1 is not displayed in the IDE About dialog

    Perhaps on Tuesday during the 29th birthday webinar.
  4. Patrick PREMARTIN

    TForm Destroys are not called when target is macOS ARM 64-bit

    It's not new : destroy of the main form and finalization bloc in units is not executed on Mac since years. On Mac, for the main form use the onClose event instead of onDestroy.
  5. I can't reproduce it on a new project. Do you have a sample project to share it or can you do a little video to capture your screen ? Do you have auto completion enabled or only on TAB ?
  6. Patrick PREMARTIN

    fmx advanced tutorials

    if you want to manage everything yourself, simply put an image on your form and draw on its bitmap canvas and if you need layers, use other images depending on the layers you need
  7. Patrick PREMARTIN

    How to request Embarcadero to update a PAServer download link?

    Hi I submitted an issue after reading this topic and it's now closed : https://quality.embarcadero.com/browse/RSP-42023 The PAServer links have been updated in the doc. If you have any new remarks, requests or anomalies to report on the doc, don't hesitate to open one.
  8. Patrick PREMARTIN

    fmx advanced tutorials

    Hi. You have many repositories on GitHub with a lot of FMX samples : https://github.com/DeveloppeurPascal/Delphi-samples/blob/main/OtherDelphiSampleRepositories.md The question about a mode to create the user interface like Flutter is a good question some developers ask but you can do it by code in Pascal. Not sure having the same UX than Flutter or QT for the interface is a good idea inside Delphi/C++Builder.
  9. Patrick PREMARTIN

    Getit / my.embacadero and quality down?

    Hi It should work now. There was an hosting problem between Embarcadero websites and Cloudflare.
  10. Not sure the signature has any impact : it only say "the detected virus or malware has been added before signing, developer/editor computer is infected"
  11. Each anti virus software editor has a process to send them false positives. If your programs are flagged, send it to them directly for evaluation. You don't have other solutions. We can't bypass this because if we could, virus/malware authors could.
  12. Patrick PREMARTIN

    Mobile Permssions component (adrianos santos version)

    Hi Please open a request on the project if it's a bug and of course give the solution if you have it.
  13. Patrick PREMARTIN

    Permissions Android 13

    Can you extract the not working part in a sample program and reproduce the problem ? If yes, share it here, we could check on our devices.
  14. Patrick PREMARTIN

    Behind the Build: RAD Studio and C++Builder 12.0 - Webinar Replay

    it's a beta preview and a sort of roadmap. they are obliged to add this information for legal reasons.
  15. Patrick PREMARTIN

    Android Create SQLLite Database at Runtime.

    Hi @Robert Gilland Can you give us the code you used previously ? It's very strange you need to create a file before using it as a SQLite database. I've never needed to do that. Perhaps you need some permission about external storage or use a not authorized folder ?
  16. Patrick PREMARTIN

    Permissions Android 13

    Hi You have the changes here https://developer.android.com/about/versions/13/behavior-changes-13 What did you used on previous releases ?
  17. Patrick PREMARTIN

    Backup MacBook Delphi app and certificates

    in Xcode preferences you can export your developer account to use it on more than one computer without generating other certificates and having looping nightmares
  18. Patrick PREMARTIN

    Call for Delphi 12 Support in OpenSource projects.

    In my opinion (as I understand the NDA), if you condition parts of the code with the next version's compiler, it's to use a possible feature of that version. In that case, it's a violation of the NDA, which doesn't allow us to talk publicly about potential developments in that version.
  19. Patrick PREMARTIN

    Help with Delphi Community Edition

    This use of the Community Edition is in an infringement of its license. You have a license as a professional, you should use it on your computers.
  20. why don't you simply use Paint or an other image editor to create a bitmap with the good dimensions ?
  21. Patrick PREMARTIN

    Call for Delphi 12 Support in OpenSource projects.

    Even if the beta is "public", it's still under a NDA between Ambarcadero and the beta tester. Any threads or changed in public repositories about Yukon features violate the NDA.
  22. Patrick PREMARTIN

    Windows ARM support ?

    I globally agree but ARM is a real future of computers processors. Windows ARM is already used by a lot of us, in VM, yes, but for daily use.
  23. If you don't have a frame for your device, just put a PNG of the good dimension (at least the size of the screen of the device in pixels).
  24. Patrick PREMARTIN

    I have created MBP (My Blood Pressure)

    Hi Thanks for sharing this program and giving its source code as a link on your website. Perhaps you could open it on a code repository like GitHub to gain a little more visibility for it ? (not all parts of the program if you have some external licenses or don't want to share the wav files) About the program, nothing to say, I don't have material to check my blood pressure, but the screen capture and the idea to have an audio help looks great.
  25. Patrick PREMARTIN

    Use testflight with Delphi

    Hi Just deploy the app in Delphi and use Transporter to upload it to the AppStore. In the app AppStore page, you have a TestFlight option where you can activate a binary you uploaded for test purposes. The Delphi part in only to compile/deploy the project to have an IPA. After that it's an Apple process. Check their documentation without searching "Delphi testflight" but only "mobile iOS testflight" or something like that.
×