>I am using mwresize to resize controls on my forms. mwresize uses .AddProperty() to store the original size/location of controls, however I am getting an strange error;
>
>On some controls the line
>
>.AddProperty("_nOriginalWidth",.Width)
>
>thows as data type mismatch error.
May be unrelated, but once upon a time (read: fox 2x) there was a bug where you could have a field (in a table or a cursor) beginning with an underscore if you did a create table (...), select ... into table, if you used copy structure (and "...extended") but not if you created it from an afields() array. I don't know when this bug was gone, because I just gave up - anything beginning with an underscore belongs to Fox proper and can be overridden in some future version (a friend had a variable into which he would build long strings... in FP1.01, and its name was _text - had to replace it everywhere when 2.0 came).
Now with properties there may be an additional quirk, with _assign and _access methods, you'd have something like
procedure _myUnderscoredProperty_access
Which should be fine syntactically etc, but... just give it a try with a name without an underscore.