Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visible.enabled set to false when form loads

Status
Not open for further replies.

dja1

Programmer
Apr 24, 2002
65
GB
I have a form that contains an MS Flexigrid. At design time, Visible is set to true. However, when the form is loaded, Visible is reset to False, (used Watch in Debug).
Even when I put the following code into the Form Load code;
"If Me.grdPayments.Visible = False Then
Me.grdPayments.Visible = True
End If"

and "debug.print Me.grdPayments.Visible" - the property is still "False"

Any ideas?
 
Massive red herring

The reason the grid wouldn't show was because I was setting flexgrid.width to a relatively small value - not "Colwidth".

Apologies if anyone has wasted their time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top