Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadSafeBoolean.Toggle Method

Toggles the value for the thread-safe data type.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.