Hi,

I am having a very strange problem with VFP. I have a form with 5 text
fields and 5 captions.

Everything was working fine. I added a 6th textfield and a 6th caption
called TEXT6 and LABEL6. Now, when I run my program, about half the time,
it will say 'object TEXT6 doesn't exist' and 'object label6 doesn't exist'.
WHen I run the debugger and look at all the objects under my form, these 2
are not listed. Yet clearly they show up on the form when I do 'modify
form myform'. I don't have any other objects on the page (Eg. multipage
tabs etc) where I could have 'misfiled' these objects. I even looked at
the RAW MYFORM.SCX file and it lists these two objects with the PARENT being
'MYFORM'.

The most puzzling part is that it is intermittent.

I would appreciate any help anyone can provide,

Thanks

Zoom

Re: Very strange problem with VFP form objects - please help by swdev2

swdev2
Tue Jul 03 11:27:59 CDT 2007

When you rebuild your project in the project manager -
are you clicking 'compile all'
??
it smells like what you added in didn't make it into the compiled version -
or -
maybe what you thought you changed, is really not in the project for
compilation to begin with.

Regards [Bill]
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net

"Zoom" <keashdoc@hotmail.com> wrote in message
news:hZ6dnTCm_4IszBfbnZ2dnUVZ_vqpnZ2d@comcast.com...
> Hi,
>
> I am having a very strange problem with VFP. I have a form with 5 text
> fields and 5 captions.
>
> Everything was working fine. I added a 6th textfield and a 6th caption
> called TEXT6 and LABEL6. Now, when I run my program, about half the time,
> it will say 'object TEXT6 doesn't exist' and 'object label6 doesn't
exist'.
> WHen I run the debugger and look at all the objects under my form, these 2
> are not listed. Yet clearly they show up on the form when I do 'modify
> form myform'. I don't have any other objects on the page (Eg. multipage
> tabs etc) where I could have 'misfiled' these objects. I even looked at
> the RAW MYFORM.SCX file and it lists these two objects with the PARENT
being
> 'MYFORM'.
>
> The most puzzling part is that it is intermittent.
>
> I would appreciate any help anyone can provide,
>
> Thanks
>
> Zoom
>
>
>



Re: Very strange problem with VFP form objects - please help by Zoom

Zoom
Tue Jul 03 10:51:26 CDT 2007

Actually, I haven't compiled the program yet. I am running it from the
command line.


"swdev2" <wsanders@dotnetconversions.bob.com> wrote in message
news:uhrmDYYvHHA.3400@TK2MSFTNGP03.phx.gbl...
> When you rebuild your project in the project manager -
> are you clicking 'compile all'
> ??
> it smells like what you added in didn't make it into the compiled
> version -
> or -
> maybe what you thought you changed, is really not in the project for
> compilation to begin with.
>
> Regards [Bill]
> --
> ===================
> William Sanders / EFG VFP / mySql / MS-SQL
> www.efgroup.net/vfpwebhosting
> www.terrafox.net www.viasqlserver.net
>
> "Zoom" <keashdoc@hotmail.com> wrote in message
> news:hZ6dnTCm_4IszBfbnZ2dnUVZ_vqpnZ2d@comcast.com...
>> Hi,
>>
>> I am having a very strange problem with VFP. I have a form with 5 text
>> fields and 5 captions.
>>
>> Everything was working fine. I added a 6th textfield and a 6th caption
>> called TEXT6 and LABEL6. Now, when I run my program, about half the
>> time,
>> it will say 'object TEXT6 doesn't exist' and 'object label6 doesn't
> exist'.
>> WHen I run the debugger and look at all the objects under my form, these
>> 2
>> are not listed. Yet clearly they show up on the form when I do 'modify
>> form myform'. I don't have any other objects on the page (Eg. multipage
>> tabs etc) where I could have 'misfiled' these objects. I even looked at
>> the RAW MYFORM.SCX file and it lists these two objects with the PARENT
> being
>> 'MYFORM'.
>>
>> The most puzzling part is that it is intermittent.
>>
>> I would appreciate any help anyone can provide,
>>
>> Thanks
>>
>> Zoom
>>
>>
>>
>
>



Re: Very strange problem with VFP form objects - please help by RGBean

RGBean
Tue Jul 03 18:00:44 CDT 2007

Are you using a framework? Do these additional objects use the same classes
as the others on the form?

Rick

"Zoom" <keashdoc@hotmail.com> wrote in message
news:hZ6dnTCm_4IszBfbnZ2dnUVZ_vqpnZ2d@comcast.com...
> Hi,
>
> I am having a very strange problem with VFP. I have a form with 5 text
> fields and 5 captions.
>
> Everything was working fine. I added a 6th textfield and a 6th caption
> called TEXT6 and LABEL6. Now, when I run my program, about half the time,
> it will say 'object TEXT6 doesn't exist' and 'object label6 doesn't
> exist'. WHen I run the debugger and look at all the objects under my form,
> these 2 are not listed. Yet clearly they show up on the form when I do
> 'modify form myform'. I don't have any other objects on the page (Eg.
> multipage tabs etc) where I could have 'misfiled' these objects. I even
> looked at the RAW MYFORM.SCX file and it lists these two objects with the
> PARENT being 'MYFORM'.
>
> The most puzzling part is that it is intermittent.
>
> I would appreciate any help anyone can provide,
>
> Thanks
>
> Zoom
>
>
>


Re: Very strange problem with VFP form objects - please help by Zoom

Zoom
Wed Jul 04 09:56:02 CDT 2007

I'm not using a framework. It is a very simple form and there are no
user-defined classes - simply the textbox and label.

Zoom


"RGBean" <rgbean@NOSPAMmelange-inc.com> wrote in message
news:B726FC4A-AED5-47FE-A2B6-31221BC913D3@microsoft.com...
> Are you using a framework? Do these additional objects use the same
> classes as the others on the form?
>
> Rick
>
> "Zoom" <keashdoc@hotmail.com> wrote in message
> news:hZ6dnTCm_4IszBfbnZ2dnUVZ_vqpnZ2d@comcast.com...
>> Hi,
>>
>> I am having a very strange problem with VFP. I have a form with 5 text
>> fields and 5 captions.
>>
>> Everything was working fine. I added a 6th textfield and a 6th caption
>> called TEXT6 and LABEL6. Now, when I run my program, about half the
>> time, it will say 'object TEXT6 doesn't exist' and 'object label6 doesn't
>> exist'. WHen I run the debugger and look at all the objects under my
>> form, these 2 are not listed. Yet clearly they show up on the form when
>> I do 'modify form myform'. I don't have any other objects on the page
>> (Eg. multipage tabs etc) where I could have 'misfiled' these objects. I
>> even looked at the RAW MYFORM.SCX file and it lists these two objects
>> with the PARENT being 'MYFORM'.
>>
>> The most puzzling part is that it is intermittent.
>>
>> I would appreciate any help anyone can provide,
>>
>> Thanks
>>
>> Zoom
>>
>>
>>
>



Re: Very strange problem with VFP form objects - please help by MikeA

MikeA
Thu Jul 12 00:24:10 CDT 2007

Do you have anything in the Load method trying to access the textbox? Are
any of the first 5 textbox objects trying to access the 6th one in their
init methods. It could be that an object is trying to access the sixth
textbox before the sixth textbox object is instantiated.

Mike

"Zoom" <keashdoc@hotmail.com> wrote in message
news:lv6dnRNEAJ-fKBbbnZ2dnUVZ_jqdnZ2d@comcast.com...
> I'm not using a framework. It is a very simple form and there are no
> user-defined classes - simply the textbox and label.
>
> Zoom
>
>
> "RGBean" <rgbean@NOSPAMmelange-inc.com> wrote in message
> news:B726FC4A-AED5-47FE-A2B6-31221BC913D3@microsoft.com...
>> Are you using a framework? Do these additional objects use the same
>> classes as the others on the form?
>>
>> Rick
>>
>> "Zoom" <keashdoc@hotmail.com> wrote in message
>> news:hZ6dnTCm_4IszBfbnZ2dnUVZ_vqpnZ2d@comcast.com...
>>> Hi,
>>>
>>> I am having a very strange problem with VFP. I have a form with 5 text
>>> fields and 5 captions.
>>>
>>> Everything was working fine. I added a 6th textfield and a 6th caption
>>> called TEXT6 and LABEL6. Now, when I run my program, about half the
>>> time, it will say 'object TEXT6 doesn't exist' and 'object label6
>>> doesn't exist'. WHen I run the debugger and look at all the objects
>>> under my form, these 2 are not listed. Yet clearly they show up on the
>>> form when I do 'modify form myform'. I don't have any other objects on
>>> the page (Eg. multipage tabs etc) where I could have 'misfiled' these
>>> objects. I even looked at the RAW MYFORM.SCX file and it lists these
>>> two objects with the PARENT being 'MYFORM'.
>>>
>>> The most puzzling part is that it is intermittent.
>>>
>>> I would appreciate any help anyone can provide,
>>>
>>> Thanks
>>>
>>> Zoom
>>>
>>>
>>>
>>
>
>