-
Content Count
141 -
Joined
-
Last visited
-
Days Won
2
Patrick PREMARTIN last won the day on May 12 2023
Patrick PREMARTIN had the most liked content!
Community Reputation
50 ExcellentAbout Patrick PREMARTIN
- Birthday January 12
Technical Information
-
Delphi-Version
Delphi 11 Alexandria
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
A Memory Game in Delphi
Patrick PREMARTIN replied to LaryRose's topic in Algorithms, Data Structures and Class Design
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. -
Hi. If you ned to check some versions numbers for a project, look at https://github.com/omonien/Delphi-Version-Information
-
Delphi 12 Update 1 is not displayed in the IDE About dialog
Patrick PREMARTIN replied to PeterPanettone's topic in Delphi IDE and APIs
Perhaps on Tuesday during the 29th birthday webinar. -
TForm Destroys are not called when target is macOS ARM 64-bit
Patrick PREMARTIN replied to Navid Madani's topic in Cross-platform
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. -
Strange issues using multiline strings (was "Is it just me?? ")
Patrick PREMARTIN replied to Ian Branch's topic in Delphi IDE and APIs
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 ? -
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
-
paserver How to request Embarcadero to update a PAServer download link?
Patrick PREMARTIN replied to Luis SIlvino's topic in General Help
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. -
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.
-
Getit / my.embacadero and quality down?
Patrick PREMARTIN replied to softtouch's topic in Delphi IDE and APIs
Hi It should work now. There was an hosting problem between Embarcadero websites and Cloudflare. -
Delphi compiled EXE are flagged as malware by anti virus software
Patrick PREMARTIN replied to Jaska's topic in General Help
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" -
Delphi compiled EXE are flagged as malware by anti virus software
Patrick PREMARTIN replied to Jaska's topic in General Help
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. -
Mobile Permssions component (adrianos santos version)
Patrick PREMARTIN replied to cupboy's topic in Cross-platform
Hi Please open a request on the project if it's a bug and of course give the solution if you have it. -
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.
-
Behind the Build: RAD Studio and C++Builder 12.0 - Webinar Replay
Patrick PREMARTIN replied to stukelly1's topic in General Help
it's a beta preview and a sort of roadmap. they are obliged to add this information for legal reasons. -
Android Create SQLLite Database at Runtime.
Patrick PREMARTIN replied to Robert Gilland's topic in Databases
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 ?