API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdRadioButton Class > OdRadioButton Methods > OdRadioButton::setLock Method
OdRadioButton::setLock Method
Syntax
C++
void setLock(bool state);
Parameters 
Description 
bool state 
[in] A new flag value. 

Sets a new value for the flag that determines whether the radio button is locked. If the flag value is equal to true, the radio button is locked and becomes disabled, otherwise it is enabled and unlocked. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.