Subject |
Re: Subforms |
From |
Mervyn Bick <invalid@invalid.invalid> |
Date |
Mon, 18 Aug 2014 23:14:27 +0200 |
Newsgroups |
dbase.getting-started |
On Mon, 18 Aug 2014 23:08:30 +0200, Mervyn Bick <invalid@invalid.invalid>
wrote:
> On Mon, 18 Aug 2014 20:05:44 +0200, Duncan <finance@iacsa.co.za> wrote:
>
>>
>> Hi Mervyn
>>
>> Thanks for the advice. I am still trying to get it to work.
>>
>> I followed your examples and created the test_subedit.wfm & subedit.wfm
>> files. I downloaded your conversion program to convert subedit.wfm to
>> subedit.sfm. I selected subedit.wfm as input and subedit.sfm for output
>> and clicked on the create button, but nothing happened. I then ran the
>> test_subedit.wfm to see if maybe the "sfm" file was not displaying in
>> the dbase directories. I got the error -
>>
>> Error: Class does not exist: TEST_SUBEDITFORM::TEST_SUBEDITFORM
>
> The program to create the .sfm file from a .wfm file works so fast that
> it appears to do nothing. <g>
>
> The .sfm files do not show in the Navigator but if you dir *.sfm from
> the command line you will see them.
>
> I don't know why you're getting the specific error
Oops. Pressed the wrong button and sent the message before I'd finished.
Sorry about that.
The error suggests that the classname in the bootstrap code doesn't match
the classname in the class definition.
f = new test_subeditForm() // HERE
if (bModal)
f.mdi = false // ensure not MDI
f.readModal()
else
f.open()
endif
class test_subeditForm of FORM //and HERE
with (this)
onOpen = class::FORM_ONOPEN
height = 16.0
left = 21.0
top = 10.8636
width = 76.2857
text = ""
endwith
Mervyn.
|
|