>>I know there are workarounds (I will try GetPEM() immediately), but I was just wondering why ReadExpression() doesn't seem to work as advertised.
>
>I think the purpose of ReadExpression() was primarily to help writing wizards and builders, i.e. design-time stuff.
Well, that is exactly what I wanted to do. Automate some design-time stuff. As you stated in a previous reply, I want to insert a column. I want to do this at design-time.
Anyway, I think I have solved this already.
I still have a slight problem: when storing a property with WriteExpression(), it prepends an "=" for logical and numeric values. For instance, when copying property .ReadOnly, from another column, the value becomes
=.T.. I don't think this is a serious problem, though.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)