I have Source Wizard for Delphi 7 (a code formatter).
I'm switching to Delphi 2009. I tried loading *.pas (created with D2009) in Source Wizard in Delphi 7 and there were no problems processing them.
How can I make it to show like a menu item in D2009's menu..?
If you want to have an item in the tools menu, you can simply click on Tools->Configure Tools (or similar, I have a German Delphi version here).
If you are trying to port a Delphi 7 OTA (Open Tools API) wizard, you have to change the code to the new API, because it changed in the transition from the Aurora IDE (D1 - D7) to the Galileo IDE (D8+).
How do I write a Delphi Galileo IDE Expert?
Or are you asking for a specific tool that is called "Source Wizard"?
PS: It would not hurt to clarify your question a bit. A more specific question gets you better answers.
Edit: You may look at GExperts for the integrated source formatter that is based on DelForExp like the "Delphi Source Wizard" seems to be:
http://www.dummzeuch.de/delphi/gexperts/english.html
Related
In Delphi XE2, there was an IDE feature which allowed me to create in-line XML code documentation (following Microsoft standards) in an editor window. It would describe each class, type, method, etc. in the interface section of a unit. However, in Delphi XE7, I cannot find it. I've done some searching, but as you can imagine, Delphi XE7 XML Code Documentation does not return the results I'm looking for.
In XE2, I remember the shortcut to toggle this window was either CTRL + SHIFT + D or CTRL + ALT + D. Neither of them do anything in XE7. I know I could manually write this myself, but that's a bit inconvenient. All I can find in the documentation is how to write the text yourself, and nothing about the editor window I was used to in XE2. I never installed any Delphi add-ons other than what came with Delphi itself (besides IDE Fix Pack).
Where can I find this feature in Delphi XE7 Enterprise? Or was it removed for some reason?
The feature you are describing is not directly implemented into Delphi but comes as third party addon that does integrate into Delphi. It is called Documentation Insight.
http://www.devjetsoftware.com/products/documentation-insight/
Documentation insight had come as free third party addon till Delphi XE6 when it was suposingly removed. Don't ask me why as I don't know.
So I'm afraid that you will have to buy this third party IDE extention now.
EDIT: Or you could use newest version of Delphi for development of your program and older version of Delphi like XE2 to generate documentation.
We use Delphi 5 on Windows in our school, and of course it's good to have at home, too. But since I have Ubuntu and I don't want to either use ancient software or pay hundreds of dollars I will have to use Lazarus (which seems to be pretty nice). But it has not the same compiler and maybe not the same libraries, so will the code written in Delphi 5 compile with Lazarus? How much are they compatible?
I belive it should just don't forget to use Delphi mode in Lazarus.
In "Project Options -> Compiler Options -> Parsing" select "Syntax mode" to "Delphi (-Mdelphi)"
Now if you will be automatically converting Delphi project into Lazarus one using menu "Tools -> Convert Delphi project to Lazarus project" Lazarus should automatically set Delphi mode.
Anywhay the only problems you might expirience is that some functions might have been moved to different units. This is mostly related that Delphi 7 with which Lazarus is compleetly compatible had some functions moved from one unit to another. So reading some old documentation about porting projects from Delphi 5 to Delphi 7 might come in handy.
I have encountered a problem in which setting AutoRefresh to True in TShellListView leads to memory leaks. This is a known problem, I found a fix for it here: http://www.delphigroups.info/2/bf/292629.html.
My problem is that my application is currently compiled with Delphi 2010 (Rad Studio 7), and that version does not include source for ShellCtrls.pas, which must be modified to implement the fix described above.
I also have a copy of Rad Studio 9 (Delphi XE) on my development machine. This version does include a copy of ShellCtrls.pas. Hoping against hope, is it possible to use the source from XE in 2010? If not, is there any way to get a hold of the of the source for ShellCtrls for Delphi 2010?
Source code is included for all Professional and higher SKUs (although the VCL source included varies based on SKU, the demos usually don't because they want you to want the functionality and therefore upgrade your SKU). If you don't have the source in D2010, you're either looking in the wrong place (it's in the Samples or Demo folder, not the VCL source folder) or you've not installed the demos.
The demos are installed by default in the Users\Public\Documents\ tree; you can find them using the Start Menu for the version of Delphi/RAD Studio you're using.
For example, for Delphi 2007 they're located in C:\Users\Public\Documents\RAD Studio\5.0\Demos on Win7, and the ShellControls folder is specifically in C:\Users\Public\Documents\RAD Studio\5.0\Demos\DelphiWin32\VCLWin32\ShellControls.
In XE2, that changes very little; they're in C:\Users\Public\Documents\RAD Studio\9.0\Samples\Delphi\VCL\ShellControls.
(Just as an FYI thing: On Delphi 7 under WinXP, they're in C:\Program Files\Borland\Delphi7\Demos\ShellControls, so the ShellControls stuff has been around at least that long with source.)
I've begun working with using Lazarus to make some simple utilities for my own use on Ubuntu 9.10. I know many people like the modular Delphi 7 layout, but I prefer a docked layout.
I'd also like to have the Delphi 2007 palette menu. Is this possible within the latest version of Lazarus (v0.9.28.x) ?
How can I configure Lazarus to look like, or behave like, Delphi 2007/9/10?
NOTE: This question is very old. It's now (2023) possible to configure Lazarus to appear more Delphi-like, and has been for a few years. Here's a good guide.
Kudos and thanks to the Lazarus developers for their amazing work!
I'm not sure that you can make it look like the newer Delphi IDEs.
I've used it in the past and I think that the D7 look is the only available option.
You could always edit the source and change it.
There is no option to have the palette menu like Delphi 2007 in Lazarus. I think there is also a reason for this: the Lazarus developers are mostly 'hard core, oldschool' Delphi programmers, and this kind of programmers seems to prefer the Delphi 7 tools menu.
You can try Anchor Docking. It Helps, but, not change the menu.
From the Lazarus main menu pick "Package" - "Install/Uninstall Packages" and install the "anchordockingdsgn" package
https://wiki.freepascal.org/Anchor_Docking
It's open source, you can code it...
HI,
I want to write a small Delphi IDE Expert for D2007-D2009 (aka. Galileo IDE) in order to show a window with a TMemo instance on it, with all the component names and classes from the form designer in the above memo. The selected component will be marked with a '*'. The expert should appear on a menu/toolbar and have a shortcut assigned.
How do I do?
Ps: Actually the real code is more complicated than that, but I want to have a general framework to get started.
TIA
I did my first OTA with help of these links:
Erik's Open Tools API FAQ and Resources (The author of GExpert)
Delphi Open Tools API from Jim Kueneman - Mustangpeak
Delphi Open Tools API from RayRay Lischner
They are not updated to the latest versions, but they will you good start point and most of the code will work with the last version, I tried them with D2007.
There are links to articles describing how to write an OTA plug-in here:
http://delphi.about.com/od/objectpascalide/a/wizardsexperts.htm