Archive for September, 2007
Mixing data types in arithmetic OCL expressions
I encountered a problem yesterday when attempting to perform arithmethic OCL operations on two attributes in my model which had different data types. One attribute is modeled as System.Double (TotalHours) and the other is modeled as System.Decimal (Rate). I needed to work out the total billable amount by multiplying the total hours worked by the […]
Posted by David Clegg on September 23rd, 2007 under .NET, ECO | 1 Comment »My first Live Writer post
As John Kaster announced yesterday, we now have support for Windows Live Writer on the CodeGear blog server. This post is primarily intended for me to test its support, but I’ll also take the opportunity to clarify yesterdays post about formatting numeric attributes in ECO.
While the blog post specifically discussed formatting numeric attributes, the […]
Formatting numeric attributes in ECO IV
Let me start off by saying that the contents of this blog post is derived from a technique shown to me today by Jose Maria Sanmartin. Full credit should go to him for providing the meat in this particular sandwich.
Normally when data-binding to ECO attributes in VCL.NET there doesn’t appear to be any opportunity to […]
What is ECO?
If you’ve ever wondered what ECO is, and what it can do for you, Peter Morris has recently updated the CapableObjects site with an excellent overview. I strongly suggest anyone interested in a significant increase in their development productivity go and take a look.
In fact, I’d like to take this opportunity to say ‘Well done, […]
Maximizing your RAD Studio 2007 experience
Here is an unpublished (and unsupported) way to add fullscreen code editor resizing support to the RAD Studio 2007 IDE :-
Open your favourite registry hacking utility
Navigate to HKEY_CURRENT_USER\Software\Borland\BDS\5.0\Editor
Create a string value and name it ‘Zoom’, with a value of either ‘Zoom’ or ‘SuperZoom’
Restart RAD Studio, if it is running
Now if you want to maximize the […]
Posted by David Clegg on September 20th, 2007 under Delphi | 8 Comments »An ECO IV databinding gotcha
Last night while working on an ECO IV VCL.NET application I encountered some behaviour which was initially unexpected, but made perfect sense upon reflection.
I have a modal dialog which is used to edit an ECO class instance selected in a TDBGrid. This form had a TReferenceHandle which had its Element property set to the passed […]
Showing the ECO Debugger in VCL.NET applications
ECO IV has a handy new feature which allows you to perform a quick prototype on your model. This launches an EcoSpace debugger form which will allow you to see and edit all the classes in an EcoSpace, and also allow you to evaluate Object Constraint Language expressions against it. It also optionally allows you […]
Posted by David Clegg on September 18th, 2007 under .NET, ECO | 2 Comments »ECO will make you a poor typist
My good friend and ECO guru Holger Flick has written a blog post summarizing a CD database application he wrote in ECO IV with CodeGear RAD Studio. In it he also claims "…I am a slow typer as I hardly ever have to type". His rationale being that since discovering ECO he doesn’t have to […]
Posted by David Clegg on September 18th, 2007 under .NET, ECO | 1 Comment »My name is David, and I’ll be your captain for this evening
My name is David Clegg, and I am pleased to announce my presence as a soon to be (2 weeks! Yay!) fulltime CodeGear Developer Network contractor. I will be working with John Kaster and the rest of the CDN team to help enhance and maintain the various applications that make up the CodeGear Developer Network.
This is a role that I have been doing for nearly two years now in a part-time capacity, and I am relishing the opportunity to be able to spend more time […]
Server Response from: dnrh1.codegear.com
