If creating IW controls dynamically, then always be sure to explicitly set their Name. They won’t always get a default name – and empty names may lead to strange behaviors.
If you create IWRadioButtons dynamically, then also be careful that you always set their “Name” and “Value” properties to the same value – unless you know what you are doing. Value is important for correct control and group recognition during postbacks. Sounds odd but has to do with the way how the underlying INPUT HTML controls are working.
Unfortunately, at least in IntraWeb 9.0, IWRadioButtons synchronize Name and Value at design-time only (no idea why – I cannot remember having touched that during my time at Atozed). The attached IWComRadioButton source file fixes that, so that you only have to care about “Name”.
Note: That file is for IntraWeb 9.0. It may work with older or newer versions, but I did not test that. This is not an official file version, but just a personal contribution to the freely available visual control source files of IntraWeb. Use modified sources at your own risk – the guys at Atozed can support their own versions only.
According to Mike Nash, Microsoft’s Windows Product Manager, there will be a release called “Windows 7” anytime soon (or less sooner).
So I guess that’s somehow a service release for Windows 3.11, as Windows 3.11 was followed by Windows 95 (RIP) a couple of years ago.
If I’m wrong though and Windows 7 is supposed to be the successor of Windows Vista, then I wonder what the product management and marketing department of MS is smoking these days, with Windows 2003, 2008 on the market already …
Anyway, good that CodeGear was wise enough to not remove the Win 3.1 components. They are still there, even in Delphi 2009
There are a lot of new things to learn with Delphi’s new Unicode string type(s). For example look at Lars’ blog. Quite some interesting posts over the last days.
Apparently, the new Delphi 2009 TStringBuilder class has not got much attention yet, so I’ll give a short recap here.
As I recently noticed and already mentioned by Jim McKeeth Delphi made it back into the Top Ten of TIOBE’s Programming Community Index. Actually “we” are Ninth!
You may have noticed that Delphi 2009 includes Win32 (Delphi and C++) personalities only. The .NET part has obviously been scheduled for later.
For those of you being curious how the next Delphi for .NET might look like:
CodeGear just “inofficially” announced a Delphi Prism Beta which is basically something like Delphi in Visual Studio. Nick Hodges showed off some early information at SDN in the Netherlands.
Allen Bauer also comments on these, maybe surprising news. So far it looks like in the future there will be two Delphi products, one for Win 32 Development (in the IDE we all know), and an other VisualStudio based IDE for .NET development.
My two favorite Delphi plugins are now available for Delphi 2009:
GExperts
An Open Source project that adds a ton of useful wizards and other functionality to the Delphi IDE. For me CTRL+G, which pops up the “Procedure List” dialog, is one of the most, if not the most important features.
The MessageDialog wizard or “Components to code” are also very helpful.
Update 2: Erik Berry, the GExperts Project Leader, just announced the availability of a first official GExperts beta supporting D2009. See the announcement at www.gexperts.org. The setup can be found in the download section.
The official website does not have the D2009 version yet. “Toms”, a German Delphi community member compiled it for D2009 and offers it at the Delphi Praxis Forum(German only, but you should be able to locate the download). There is currently still a problem with the expert’s Registry location – you would have to manually move it from /Borland to /CodeGear …
Update 1: Toms just uploaded a fixed version and he also added an English section. Thanks Toms!
DDevExtensions
A free Delphi IDE plugin made by Andreas Hausladen.
Important update: Please use at least version 1.9.1. Version 1.9.0 had a bug, which caused “’’ is an invalid interger” exception under certain conditions. Version 1.9.1 is available here.
DDevExtensions adds stuff like “indention via TAB” - as it should work out of the box And the “Unit Selector”. Only know a part of the unit name you want to use? Hit ALT-F11 with DDevExtensions installed and get a list of all units the compiler can ‘”see” – of course with incremental search:
Once you get used to these tools, you feel lost when you have to use Delphi without them
Disclaimer: Even though Delphi 2009 has just been announced, this is still a beta blog, as we didn’t get the “golden build” yet.
There are a couple of beta bloggers who already mentioned that the installation process’ speed has been dramatically improved with Delphi 2009. I just wanted to confirm that, so that you guys, desperately waiting for the new Delphi version, can really be sure they did their homework Read the rest of this entry »
To disable the “loading animation” which has been introduced with IntraWeb 9.0, and which shows up when the user clicked a button and is waiting for the page to re-load you usually just need to set an option in your application’s ServerController. Read the rest of this entry »
Times are changing. In July CodeGear was finally sold from Borland to Embarcadero. From Agust 1st 2008 I will no longer represent Atozed Software. Read the rest of this entry »
Yesterday’s press release of CodeGear being sold to Embarcadero was a bit vague about the company name. It left the door wide open for speculations that “CodeGear” as brand or division name might just disappear - which caused some worries in the Delphi community. Greg Keller, VP Product Management of Embarcadero just commented on this. Read the rest of this entry »