PC Review


Reply
Thread Tools Rate Thread

CheckBox in PopUp form grayed out

 
 
rbm
Guest
Posts: n/a
 
      30th Dec 2008
I have a PopUp form (popup = yes, modal = no) that consists of a form and
subform. The subform is continuous and lists a group of people and certain
attributes. One of those attributes is displayed as a Check Box. When the
PopUp form is opened, the check box for everone's record is grayed out. If I
scroll down the list of people, the check boxes take on their correct
true/false appearance, but when I close and reopen the form, they go back to
gray.

This does not happen when I make the form popup = no (when I open the form,
all the check boxes are correct), and is unaffected by the setting of the
modal property. This form really need to be a popup form.

I have tried setting the focus to the subform,
requerying/recalulating/refreshing and repainting, but can't seem to figure
it out. Anyone run into this before?

Thanks for any suggestions.
 
Reply With Quote
 
 
 
 
rbm
Guest
Posts: n/a
 
      30th Dec 2008
Sorry, forgot to mention that the CheckBox is a bound check box.

"rbm" wrote:

> I have a PopUp form (popup = yes, modal = no) that consists of a form and
> subform. The subform is continuous and lists a group of people and certain
> attributes. One of those attributes is displayed as a Check Box. When the
> PopUp form is opened, the check box for everone's record is grayed out. If I
> scroll down the list of people, the check boxes take on their correct
> true/false appearance, but when I close and reopen the form, they go back to
> gray.
>
> This does not happen when I make the form popup = no (when I open the form,
> all the check boxes are correct), and is unaffected by the setting of the
> modal property. This form really need to be a popup form.
>
> I have tried setting the focus to the subform,
> requerying/recalulating/refreshing and repainting, but can't seem to figure
> it out. Anyone run into this before?
>
> Thanks for any suggestions.

 
Reply With Quote
 
Stuart McCall
Guest
Posts: n/a
 
      30th Dec 2008
"rbm" <(E-Mail Removed)> wrote in message
news:6EE6C0A9-599E-4078-8B11-(E-Mail Removed)...
>I have a PopUp form (popup = yes, modal = no) that consists of a form and
> subform. The subform is continuous and lists a group of people and
> certain
> attributes. One of those attributes is displayed as a Check Box. When
> the
> PopUp form is opened, the check box for everone's record is grayed out.
> If I
> scroll down the list of people, the check boxes take on their correct
> true/false appearance, but when I close and reopen the form, they go back
> to
> gray.
>
> This does not happen when I make the form popup = no (when I open the
> form,
> all the check boxes are correct), and is unaffected by the setting of the
> modal property. This form really need to be a popup form.
>
> I have tried setting the focus to the subform,
> requerying/recalulating/refreshing and repainting, but can't seem to
> figure
> it out. Anyone run into this before?
>
> Thanks for any suggestions.


Set the DefaultValue property of the checkbox to False. When a checkbox
shows up greyed, it means the control currently contains Null.


 
Reply With Quote
 
rbm
Guest
Posts: n/a
 
      30th Dec 2008
Thanks for the reply, but the control actually contains a value (default is
"true"). With the form open, if I scroll down the list, the checkboxes that
are "revealed" as I go down the list do not appear grayed out; if I go to the
bottom of the list and back to the first record, all check boxes are
displayed properly.

It seems to not want to populate the value (wants to leave it null) until
the record goes off the screen and reappears.

Bob McCormack


"Stuart McCall" wrote:
>
> Set the DefaultValue property of the checkbox to False. When a checkbox
> shows up greyed, it means the control currently contains Null.
>
>
>

 
Reply With Quote
 
Ron2006
Guest
Posts: n/a
 
      30th Dec 2008
For that Default value, is it the default in the table definition or
in the form definition of the control. I believe there will be a
difference. Are you saying that it is grayed out even when there is a
check (true value) in the underlying field?
 
Reply With Quote
 
rbm
Guest
Posts: n/a
 
      30th Dec 2008
That is correct. It is grayed out even when there is a true value in the
underlying field. I think it has something to do with the PopUp=Yes value.
When I open the same form with a PopUp=No setting, the check boxes appear
correctly. Even with the PopUp-Yes setting, if I scroll down or up in the
subform (a continuous form), the check boxes show correctly as they come
into or outof the "field of view".

"Ron2006" wrote:

> For that Default value, is it the default in the table definition or
> in the form definition of the control. I believe there will be a
> difference. Are you saying that it is grayed out even when there is a
> check (true value) in the underlying field?
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
All Day Event Checkbox Grayed Out after IE8 Install Tom Mortensen Microsoft Outlook Calendar 4 30th Jul 2009 11:13 PM
Checkbox are grayed out, Associate a file to..... Donaldo Windows Vista General Discussion 3 7th Jan 2009 05:21 AM
Hidden attribute checkbox is grayed out... ridergroov Windows XP General 5 3rd Oct 2006 03:58 PM
Re: Recently used file list checkbox grayed out Suzanne S. Barnhill Microsoft Word Document Management 1 15th Oct 2004 06:27 PM
Re: Recently used file list checkbox grayed out Chad DeMeyer Microsoft Word Document Management 1 7th Sep 2004 10:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:09 PM.