>>
I have a special incremental search in grid textbox class. Now I want to copy this class functionality into a special editbox class.>>
>>Open the grid textbox class in the class browser and click on view class code.
>>
>>Then open your editbox class in the class designer and after you add the required method(s), you can copy from the class code listing.
>
>how to open the grid textbox class in the class browser.
>
>as it is not avaialble in vfp/samples.
>
>what is the filename of that class i.e. *.vcx
Hi Bankim,
If you have InGrid class in some library, open this library in Class Browser and then you would be able to see the whole code using View Code button. However, I used a different approach to quickly copy functionality from one class to another:
1. I made a backup of the library (very important)
2. Using my CopyVisualClass program copied this class under different name
3. Opened this classlibrary in Class Browser and re-defined the class to be based on editbox class.
Then verified that everything still works.
However, there is another idea in this thread presented by Gary Foster which in my opinion is even better. Read the whole thread and ask questions, if Gary's idea is not clear for you.
If it's not broken, fix it until it is.
My Blog