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

Sets a new value of the flag that determines whether the drop-down list is locked. If the flag value is equal to true, the drop-down list is locked and becomes disabled, otherwise it is enabled and unlocked. 

 

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