>Back when I was young and foolish, I entered the type of control (TextBox, Spinner, etc.) that I wanted to display for many of the fields in my tables rather than leaving them as
. These are known as the "Display Class" and can be seen in the bottom left corner of the MODI STRU screen.
>
>Since then I learned about subclassing (TextBox -> MyTextBox) and how to get VFP to point to them through tools/options/field mapping. Life is good except I now realize that the "Display Class" version is overriding my field mapping, and I want to get rid of the Display Class version.
>
>It seems that they are stored in the DBC in the "Property" field in a Memo. OK so far, but the Memo structure seems to be undocumented, and it holds the field comment and other things as well as some unprintable characters. I can make all the changes manually (returning TextBox to ) through MODI STRU but I really don’t want to even think about that.
>
>Any thoughts on how to set all the "Display Class" information back to would be welcome.
>
>Bob
Bob, after making a backup (or 2) of your DBC files, open the DBC as a table (USE MyDBC.DBC) and then use the STRTRAN() function to do a mass change.
HTH
Barbara