>I want to make a textbox in a class lib which has a same property with an editbox in a same class, is there any way to copy editbox property to new textbox ?
>
>
>TIA
There is a "SaveAs" tools in File Section!!
You can download it and
Save as your old class in VCX into a New Class in another name in another VCX!!
Then, You need to hack the vcx... to change the type of class!
Since this action may be harmful and you may lose your vcx,
Pls make BACKUP b4 hack!As the new saved class will be near bottom of VCX table...
Use MyClass.Vcx
go Bottom
Browse
* Then, double-click OR {CTRL+PageUp} on ObjName to find the correct New Class
Name!
Then, there are
Class, BaseClass fields in the same row,
edit those field from
Textbox to
EditBoxBut there is a big question!! You need to copy a lot if your class is a child class...
- txt(TextBox)
- txtNumber(Txt)
- txtNonNegNumber(TxtNumber parent class)...
- txtChar(Txt)
- txtUpperChar(TxtChar)
- txtLowerChar(TxtChar)
as you can't reference a class, classloc with different Baseclass type!
As you know, for above example structure, the record on txtNonNegNumber will be:
Class Classloc Objname
txtNumber [SameVCX Name] txtNonNegNumber
txt [SameVCX Name] txtChar
...
Anyway, good luck and remember to BACKUP!! >^.^<
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.