Prev: Which Form Event
Next: Cumulative Sum Query
From: Dale on 5 Nov 2009 19:22 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 5 Nov 2009 20:00 "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 6 Nov 2009 12:13 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 |