-
Content Count
302 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Patrick PREMARTIN
-
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 ? -
Hi You have the changes here https://developer.android.com/about/versions/13/behavior-changes-13 What did you used on previous releases ?
-
Backup MacBook Delphi app and certificates
Patrick PREMARTIN replied to grantful's topic in Cross-platform
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 -
Call for Delphi 12 Support in OpenSource projects.
Patrick PREMARTIN replied to Tommi Prami's topic in Delphi Third-Party
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. -
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.
-
Is there a downloadable custom view for Galaxy S10+ phone?
Patrick PREMARTIN replied to JohnLM's topic in Delphi IDE and APIs
why don't you simply use Paint or an other image editor to create a bitmap with the good dimensions ? -
Call for Delphi 12 Support in OpenSource projects.
Patrick PREMARTIN replied to Tommi Prami's topic in Delphi Third-Party
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. -
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.
-
Is there a downloadable custom view for Galaxy S10+ phone?
Patrick PREMARTIN replied to JohnLM's topic in Delphi IDE and APIs
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). -
I have created MBP (My Blood Pressure)
Patrick PREMARTIN replied to OutOfTime's topic in I made this
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. -
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.