API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdListBox Class > OdListBox Methods > OdListBox::setLock Method
OdListBox::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 list box is locked. If the flag value is equal to true, the list box is locked and becomes disabled, otherwise it is enabled and unlocked. 

 

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