Hi,
I'm starting to learn VFP 5.0, using Visual MaxFrame Professional framework.
I'm have some difficulties on when and where sub-class the original framework.
I have to translate the framework to Portuguese. Let me give an example, I
want to create a form based on a class called frmDEGridNav2Pages that has the
following hierarchy :
Form - Visual Foxpro base form class.
frmBase - Visual MaxFrame base form class.
frmData - Abstract class for modeless forms that manage data.
frmDataEntry - Abstract class for (modeless) data-entry forms.
frmDataEntrySCADO - Abstract class for modeless data entry forms, includes
Save/Cancel and Print, Find, Add, Delete, OK commandbuttons.
frmDEGridNav - Abstract class for data-entry forms, navigation is via an
incremental-search grid.
frmDEGridNav2Pages - Data-entry form with a search/navigation grid on page 1 of
a pageframe.
On frmDataEntrySCADO I have some buttons to Add/Delete and so on. I want to
translate everything in these command buttons (sub-classing the original
classes), create frmGCDEGridNav2Pages (sub-classed from frmDEGridNav2Pages).
My problem now is how to change the class of the command button. I want to
change from cmddataadd in X3FWCTRL.VCX to cmdgcdataadd in GCFWCTRL.VCX.
Could I explain my problem ? Sorry for the bandwidth.
TIA
José Augusto Cavalcanti
Global Connection
jcavalcanti@ax.apc.org