-
Content Count
569 -
Joined
-
Last visited
-
Days Won
11
Everything posted by corneliusdavid
-
MessageDlg, mtConfirmation Wrong After Delphi 10.4
corneliusdavid replied to stacker_liew's topic in VCL
It's not a Delphi thing, it's a Windows thing. I created a small test app that displays messages boxes and can be compiled in multiple versions of Delphi. I tried Delphi 11, 10.4, 10.1, XE2, and XE and on Windows 10 and 11, they all show the same "i" icon for confirmation. Then I pulled up an old virtual machine with Windows 8.1 and recompiled it in Delphi XE (the only version of Delphi I had on that machine) and it showed the good old question mark. -
Check out the "Delphi Third-Party" section of this forum. Ann Lynnworth just posted an update to the Rubicon software with links to the product information and a link to their dedicated support forum--lots of users and answers there.
-
Looking for small (vector) drawing component/library
corneliusdavid replied to omnibrain's topic in Delphi Third-Party
This might be overkill but Skia4Delphi comes to mind as doing all that and more (I think). -
announce: Rubicon Full Text Search v4.072 released
corneliusdavid replied to Ann Lynnworth's topic in Delphi Third-Party
I don't want to sound snarky but perhaps the title gives a clue, "full text search." Or you could follow the link in her post which takes you to an "overview" page with a full description of the product. -
MacOS bug: TMainMenu subitems auto-close on click
corneliusdavid replied to Alexander Halser's topic in Cross-platform
I removed Apple platforms from earlier versions of Delphi but I confirm this functionality on a quick D11 app. At first, I wasn't completely sure what the problem was but then I used the PAServer app on the Mac and in it's Edit menu, there's a "Copy Special" menu with sub-menu items and clicking on "Copy Special" does not close the sub-menu; a sub-menu with sub-items in the test app does close the menu as if there were an action attached to the sub-menu. I would agree that it's not consistent with typical Mac menu functionality. -
TDirectory.GetFiles is listing the contents of Packages such as PhotosLibrary
corneliusdavid replied to Incus J's topic in RTL and Delphi Object Pascal
I wrote a quick test app and then drilled down into some folders using the app and compared with the Mac's native "Finder" to look at a set of virtual machines. The Mac's Finder recognized the "Virtual Machines" entry as a folder and its file contents were the same list of virtual machines I can see in VMWare Fusion, each entry is a simple VM name, and the details pane shows when it was created, the bundle size, etc. My test app, using just the TDirectory and TPath classes, showed "Virtual Machines.localized" as a folder name and allowed me to drill into that folder and then again into one of the ".vmwarevm" files, listing all the .vmx, .vmdk, .plist, and other files that make up a virtual machine package. Same with the Applications folder: Finder shows the application icons whereas my app shows a ".app" extension for each entry which is a sub-folder that opens up the contents of the app giving me Info.plist, PkgInfo, etc. My conclusion is that your app will need to recognize the file extension or file type and handle it differently--or like @Remy Lebeau says, use the FileManager API directly. -
There are two packages, ChromeTabs_R.dpk and ChromeTabs_D.dpk. The "_R" is the run-time only and supports both 32-bit and 64-bit. The _D package is the Delphi component and is the one that gets installed in Delphi and does not ship with applications. Delphi is 32-bit only so components also have to be 32-bit only. So if you compile both 32-bit and 64-bit platforms of ChromeTabs_R.dpk then install only the 32-bit platform ChromeTabs_D.dpk, you'll have 32-bit and 64-bit support for the components in your application. I just compiled and ran the 64-bit version of the demo that comes with the package so I know it works.
-
Yeah, I get lots of emails like this, too, and just have to delete them. Those seconds glancing at emails add up each day (not being sarcastic). However, I can see Embarcadero wanting to send this out to everyone just on the off chance that: You have one product (Delphi or C++Builder) and have been thinking of getting the other one, or.. You might want to upgrade your current subscription, or ... You know of someone that is ready to purchase but hasn't done it yet and they're not on the mailing list. A couple of years ago, I was a current subscriber of the Professional edition and I took advantage of one of these offers to upgrade to the Enterprise edition. It was considered a new purchase because I did not currently have the Enterprise edition so I qualified for the advertised sale but I was able to get an additional discount because I upgraded from the Professional edition. So in some cases, these sales can even be good for existing customers.
-
Isn't that the same thing?
-
I didn't conclude that--just the opposite, in fact. What I said is "It's a sale on a new purchase..." If you follow the link in the email and read the "Terms and Conditions" you'll see: "This offer does not apply to term licenses, renewals or academic licenses."
-
Yes, I believe you got it right. It's a sale on a new purchase which usually comes with 12 months of updates free but this offer will extend that to 18 months. I guess that's a pretty good deal if you're in the market for a new purchase.
-
I've created a pull request to add Delphi 11 to the repository.
-
It's still in Delphi 10.4 GetIt but since Delphi 11 support has not yet been added, it's not in the D11 GetIt. You can add it yourself quite easily, though: just clone the GitHub project to your development area, copy the Delphi 10.4 packages to a new folder, and open them in Delphi 11. Then you can save the updated projects to your own .groupproj file. I had no trouble compiling/installing them in D11.1.
-
RAD Studio 10.4 Community Edition - missing Delphi.Personality
corneliusdavid replied to TCH's topic in General Help
RAD Studio is not a non-existent product. It's just that it's not licensed as a Community Edition. So somehow you have an installation of RAD Studio (valid for trial or purchase only) with a Community Edition license (valid only for a single personality; not valid for RAD Studio which contains both personalities). And when you reinstalled, did you re-use an existing license or enter a new CE-specific license? It doesn't matter whether you understand the reason or not--it's not supported which is why Embarcadero won't help you. And remember, you can deploy to Windows 7 but you should not develop on Windows 7. -
RAD Studio 10.4 Community Edition - missing Delphi.Personality
corneliusdavid replied to TCH's topic in General Help
I'm suspecting you installed the trial then uninstalled and installed the CE, perhaps using an existing license--or some other scenario that confused the installer. It should not be possible--and Embarcdero does not intend--for there to be any way to use the CE of both Delphi and C++Builder at the same time. See their CE FAQ, specifically this one: So what I would suggest is uninstall all remnants of Delphi and/or C++Builder and reinstall Delphi CE and be sure to enter a new CE license. If you already did this, you'll have to call Embarcadero for support. -
RAD Studio 10.4 Community Edition - missing Delphi.Personality
corneliusdavid replied to TCH's topic in General Help
Well, it sounds like you're up against a no-win situation if the customer can't pay enough to support a professional development tool. Even if you did get the Trial working, it only lasts for 30 days. -
RAD Studio 10.4 Community Edition - missing Delphi.Personality
corneliusdavid replied to TCH's topic in General Help
It sounds like, perhaps, you have no experience with Delphi. So I have to wonder why you would take on a project that requires Delphi? And by talking with the previous developer, you'd realize you would need the Professional version and that it costs money--which is another reason to question why you would take on this project. So either get a down-payment from the customer or use the trial and get some billable hours in--you will very likely need to own a purchased copy of Delphi Professional. Maybe there's more to this story than that... The Trial version is the Architect version which has all the FireDAC components (the CE version does not). Perhaps it's just not installed correctly? -
Getting input from a TListBox and continuing execution
corneliusdavid replied to giomach's topic in VCL
I mistyped; that line should've been: FocalFormResult := FocalForm.ShowModal; -
OK, good. I'm glad my suggestion might be useful. I know there's a way to present a list of windows as well (involves digging into Windows APIs and calling FindWindow if you don't build this list yourself) but I don't have a link ready to give you for that. I know I've seen blogs about how to do it in the past.
-
Sorry--my reply was totally off. I thought you wanted to solve the problem of windows getting stuck behind other windows.
-
10.4: Removing directories from Find in Files
corneliusdavid replied to joelstell54's topic in Delphi IDE and APIs
In the "Find in Files" dialog, there are two buttons next to the Directories edit box. The first one is "Browse for Folder" and does what you think, browses for and selects one folder and puts it in the Directories box. The second button is "Folders and Groups" and allows you to build a custom list of folders and even have named groups of folders (for different projects, for example). So instead of excluding certain folders, you create a list of all folders you want to include, then uncheck "Include subdirectories." -
Getting input from a TListBox and continuing execution
corneliusdavid replied to giomach's topic in VCL
I'm re-reading your post and realize you're accessing a different form, FocalForm. So if that's on a different form than the posted code, use ShowModal instead of Show and call that after you've loaded the items. ShowModal will show the form and wait for it to be closed before continuing: begin ... else if ChooseFocalForm then begin FocalForm.LemmaListBox.Clear; for i := nwordfirst to nwordlast do begin getword (i, jstoretmp, jhmgrphtmp, whead, nheadlast); FocalForm.LemmaListBox.Items.Add (jstoretmp); end; FocalFormResult := FocalForm.LemmaListBox.ShowModal; // <--waits for Windows to handle form and return if FocalFormResult = mrOK then nwordfirst := nwordfirst + FocalForm.LemmaListBox.ItemIndex end else ... -
Getting input from a TListBox and continuing execution
corneliusdavid replied to giomach's topic in VCL
You need to give control back to Windows to let it send your application an OnClick event. So instead of handling the selected item within the same procedure, load the ListBox and that's all; move the rest of the code to your OnClick event handler--it will be called once the ListBox is clicked. This book might be useful: https://dalija.prasnikar.info/delphiebap/index.html -
One of the regular attendees of the Oregon Delphi User Group did a lot of research last summer on this very issue because he had the exact same problem you have. We were meeting virtually and actually recorded this particular meeting. You can view the recording and listen to his explanation and complete solution in the first 25 minutes of the video here: https://odug.org/2021-06
-
Delphi PAServer arm RPi compilation
corneliusdavid replied to nighthawk2032's topic in Cross-platform
Yeah, the first video is a web-based solution. I offered it in case it would interest you. The second link is a blog but contains a couple of videos and even though it's about 5 years old, contains a lot of information about the plethora of small system-on-a-chip computers. IIRC, it touches on why it's there isn't native compilation for that platform yet. As an alternative, you can put Android on a Raspberry Pi and then use Delphi to create an Android app deployed there. I've done it--and explain how in my book--and Jim McKeeth shows it in the video in that second link.