API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdListBox Class > OdListBox Methods > OdListBox::getLock Method
OdListBox::getLock Method
Syntax
C++
void getLock(bool& state) const;
Parameters 
Description 
bool& state 
[out] A placeholder for the flag value. 

Returns the current 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. The method fills a passed boolean value with the list box lock flag value and returns it to a calling subroutine. 

 

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