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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS monthview control

Status
Not open for further replies.

Johnweida

MIS
Apr 29, 2003
91
CN
Hi,experts,

I put a microsoft monthview control on a form but I cannot change the Enabled property programmely. It seems only be done in the control properties set. Please help me.

John Satellite
 
John,

You should be able to set the enabled property with:

THISFORM.OleMonthView.Enabled = .F.

If your problem is that it is not truly disabling the control then you probably have to throw the OBJECT reference in there also:

THISFORM.OleMonthView.Object.Enabled = .F.

Andy
 
Hi,Andy,

I tried as what you said and it works well.Thanks a lot.

John Satellite
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top