How to use code set a control property?

Y

ysu

Hi, I want use code to set a control property in infopath,
example: use code set a Textbox to readonly
How to do?
Thank very much!
 
Y

ysu

Yes, I know the conditional formatting. But I need use code to do it.
Because I add the OWC control to infopath, But I don't know how to bind the
datasource of OWC bind to infopath.
 
Top