From: Dale on
I have code that is using a checkbox to hide subforms and then shrink the
form. When the checkbox is unchecked i have it resizing the form back to
original size but the background color is not getting set back to white. I
have added me.detail.backcolor = rgb(255,255,255) but it is still not
showing. What piece am i missing?
From: Stuart McCall on
"Dale" <Dale(a)discussions.microsoft.com> wrote in message
news:D11B852E-BDCD-406B-93D3-F100D19CC344(a)microsoft.com...
>I have code that is using a checkbox to hide subforms and then shrink the
> form. When the checkbox is unchecked i have it resizing the form back to
> original size but the background color is not getting set back to white. I
> have added me.detail.backcolor = rgb(255,255,255) but it is still not
> showing. What piece am i missing?

Try Me.Repaint


From: Dale on
I figured it out by using the Paint function of the detail section.

"Dale" wrote:

> I have code that is using a checkbox to hide subforms and then shrink the
> form. When the checkbox is unchecked i have it resizing the form back to
> original size but the background color is not getting set back to white. I
> have added me.detail.backcolor = rgb(255,255,255) but it is still not
> showing. What piece am i missing?
 | 
Pages: 1
Prev: Which Form Event
Next: Cumulative Sum Query