Topic Path: Symbol Reference > Classes > TIdThreadSafeBoolean Class > TIdThreadSafeBoolean Methods > Toggle Method
ContentsIndexHome
PreviousUpNext
TIdThreadSafeBoolean.Toggle Method

Toggles the value for the thread-safe data type.

function Toggle: Boolean;

Boolean - Current value for the thread-safe data type.

Toggle is a Boolean function used to change the Value for the thread-safe data type. 

Read and write access to the content of Value uses the resource protection capabilities of the object instance to ensure reliable access in multi-threaded applications.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.