justfreakingout
Programmer
Hi there!
I am trying to get an app I just finished working and I am getting some guidelines from some tutorials I found on the knowledge center.
I am using dBASE PLUS 8
The problem is: when I run the "start.prg" it will flag the error Class does not exist: EXMENU::EXMENU
and sends me the genericmdiapp.cc to the following set of code:
// set a reference to the menu
private c
// build the command (a 'macro'):
c = 'this.rootMenu = new '+this.MenuClassName+;
'(_app.framewin,"Root")'
// execute it:
&c.
I am positive I have this class set and I cannot find the error.
(The Start.prg contains:
local app, f
set talk off
set procedure to GenericMDIApp.cc additive
app = new ThisApp()
app.open()
f = new firstForm()
app.rootmenu.openForm(f)
return
class ManutencaoApp of GenericMDIApp()
this.FrameWinText = "New dbase database"
this.MenuClassName = "EXMENU"
endclass
)
If I "Fix" the problem by commenting the lines it rejects, the program will exit design mode and nothing will happen.
Regards,
a fellow almost programmer
I am trying to get an app I just finished working and I am getting some guidelines from some tutorials I found on the knowledge center.
I am using dBASE PLUS 8
The problem is: when I run the "start.prg" it will flag the error Class does not exist: EXMENU::EXMENU
and sends me the genericmdiapp.cc to the following set of code:
// set a reference to the menu
private c
// build the command (a 'macro'):
c = 'this.rootMenu = new '+this.MenuClassName+;
'(_app.framewin,"Root")'
// execute it:
&c.
I am positive I have this class set and I cannot find the error.
(The Start.prg contains:
local app, f
set talk off
set procedure to GenericMDIApp.cc additive
app = new ThisApp()
app.open()
f = new firstForm()
app.rootmenu.openForm(f)
return
class ManutencaoApp of GenericMDIApp()
this.FrameWinText = "New dbase database"
this.MenuClassName = "EXMENU"
endclass
)
If I "Fix" the problem by commenting the lines it rejects, the program will exit design mode and nothing will happen.
Regards,
a fellow almost programmer