Hello, I am still new to VFoxpro and in need of some advice. I have a new form that I created and I have included some Check boxes. Whenever I RUN the form and try to click on the Checkbox, the message that I see at the bottom left hand side is "The control is Read-Only". How do I get my application/form to not display this message and allow me to click/unclick the checkbox?

Thanks alot, Eddy.

Re: Check Box in VFOXPRO Always shows that it is ReadOnly by Fred

Fred
Tue Aug 03 23:57:46 CDT 2004

You can turn off the message with SET NOTIFY OFF. The fact that you were
getting the message is if your controlsource is a field in a table and that
table is probably at EOF or the table is readonly, or maybe you actually
have the control set to be readonly,.

Fred
Microsoft Visual FoxPro MVP


"Atanon_Eddy" <AtanonEddy@discussions.microsoft.com> wrote in message
news:3B0C6BB3-B358-438B-AB44-8161F5B4E7C4@microsoft.com...
> Hello, I am still new to VFoxpro and in need of some advice. I have a new
form that I created and I have included some Check boxes. Whenever I RUN
the form and try to click on the Checkbox, the message that I see at the
bottom left hand side is "The control is Read-Only". How do I get my
application/form to not display this message and allow me to click/unclick
the checkbox?
>
> Thanks alot, Eddy.



Re: Check Box in VFOXPRO Always shows that it is ReadOnly by AtanonEddy

AtanonEddy
Thu Aug 05 19:39:08 CDT 2004

How about if I have a form that has a text field that is associated to a
table, but the check boxes are db independant as I want to use them in the
logic of my application. Is there a way to have this work as I explained
below?

"Fred Taylor" wrote:

> You can turn off the message with SET NOTIFY OFF. The fact that you were
> getting the message is if your controlsource is a field in a table and that
> table is probably at EOF or the table is readonly, or maybe you actually
> have the control set to be readonly,.
>
> Fred
> Microsoft Visual FoxPro MVP
>
>
> "Atanon_Eddy" <AtanonEddy@discussions.microsoft.com> wrote in message
> news:3B0C6BB3-B358-438B-AB44-8161F5B4E7C4@microsoft.com...
> > Hello, I am still new to VFoxpro and in need of some advice. I have a new
> form that I created and I have included some Check boxes. Whenever I RUN
> the form and try to click on the Checkbox, the message that I see at the
> bottom left hand side is "The control is Read-Only". How do I get my
> application/form to not display this message and allow me to click/unclick
> the checkbox?
> >
> > Thanks alot, Eddy.
>
>
>

Re: Check Box in VFOXPRO Always shows that it is ReadOnly by Fred

Fred
Thu Aug 05 20:21:07 CDT 2004

Sure. Just create properties on your form and set the
CheckBox.ControlSource to "thisform.property".

Fred
Microsoft Visual FoxPro MVP
"Atanon_Eddy" <AtanonEddy@discussions.microsoft.com> wrote in message
news:C8460AFC-A9A7-4825-AB0F-78CF11ACCF58@microsoft.com...
> How about if I have a form that has a text field that is associated to a
> table, but the check boxes are db independant as I want to use them in the
> logic of my application. Is there a way to have this work as I explained
> below?
>
> "Fred Taylor" wrote:
>
> > You can turn off the message with SET NOTIFY OFF. The fact that you
were
> > getting the message is if your controlsource is a field in a table and
that
> > table is probably at EOF or the table is readonly, or maybe you actually
> > have the control set to be readonly,.
> >
> > Fred
> > Microsoft Visual FoxPro MVP
> >
> >
> > "Atanon_Eddy" <AtanonEddy@discussions.microsoft.com> wrote in message
> > news:3B0C6BB3-B358-438B-AB44-8161F5B4E7C4@microsoft.com...
> > > Hello, I am still new to VFoxpro and in need of some advice. I have a
new
> > form that I created and I have included some Check boxes. Whenever I
RUN
> > the form and try to click on the Checkbox, the message that I see at the
> > bottom left hand side is "The control is Read-Only". How do I get my
> > application/form to not display this message and allow me to
click/unclick
> > the checkbox?
> > >
> > > Thanks alot, Eddy.
> >
> >
> >