Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Visibl Button Control
Is there a property that can be set to programmatically make the SRP button control visible vs non-visible?
The OI VISIBLE property doesn't see to work and I haven't seen it in the Help.
Thanks
Phil
The OI VISIBLE property doesn't see to work and I haven't seen it in the Help.
Thanks
Phil
Comments
The OI VISIBLE property is the way to accomplish this. So we need to look at your code to figure out why it isn't working. Are you are putting "OLE." in front of the property name? If so, then just remember that when using OI properties these should be used exactly as you would normally. Thus, when using the VISIBLE property you aren't making the ActiveX control itself invisible but the underlying OLE control that the From Designer provides to contain the ActiveX control.
I don't quite understand what is meant by ...that may control this. Near as I can tell, the problem you are experiencing is not directly related to the SRP Button Control. This looks more like a general OI problem. Are you sure this isn't a problem with the way you are managing GroupBox controls, since their properties get transferred onto their children?
To quickly prove (or disprove) the point, try added a regular OI button control among the SRP Button Controls. Make sure the "All Pages" property is set the same. Also make sure it is included in the same GroupBox control. Then test the form. Do you see the OI button control along with the SRP Button Controls when you don't expect to?