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.
This article is an announcement for a Delphi Code Camp in Germany. Course language will be German, thus this article is available in German only.
Diesen Monat (vom 22. bis 25. September) wird die Entwicklerakademie wieder ein sogenanntes “Delphi Code Camp” in Mainz ausrichten. Es werden mehrere Ganztages-Workshops zu verschiedenen Delphi Themen angeboten. So werde ich unter anderem auch einen Workshop zum Thema Webentwicklung mit Delphi und IntraWeb/VCL for the Web leiten.
Apparently many developers of Web sites and especially Web applications (IntraWeb, ASP.NET, PHP etc) are still not aware of existing tools to trace/debug the communication flow between Web browsers and Web server.
Often, certain errors such as missing images, non working JS files etc, pop up (i.e. customer calls and says “your Web app is totally broken”), and its very hard to determine whats happening. You could now add logging capabilities to your Web application and try to find out whats happening. That’s not a bad idea, but often it would help more to see what’s really sent over the wire, which resources fail to load etc.
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 »
Welcome to my new blog location, where I’m now using WordPress as blogging-engine. As far as I can tell WP works really nice. Fast, lots of available plugins, easy integration with feed aggregators. Read the rest of this entry »
The so called “Delphi-Tage 2008″ which is a community driven conference in Germany, will be held on June 13th - 14th 2008 in Günzburg. Read the rest of this entry »
Even though we don’t really recommend using IntraWeb’s desktop standalone mode in production, there seem to be quite some IntraWeb customers who do that successfully. Unfortunately there is an integrated Log routine which may cause an Integer overflow if your application had more than 2GB traffic. This article shows how to override that routine. Read the rest of this entry »
A couple of IntraWeb users asked me recently how to play sounds (wav, mp3 etc) on IntraWeb forms. There is a TIWMpeg component which can be used for that. Read the rest of this entry »