//--------------------------------------------------------------------------- // Borland C++Builder // Copyright (c) 1987, 1998-2002 Borland International Inc. All Rights Reserved. //--------------------------------------------------------------------------- TITLE: SWITCH DESCRIPTION: Change event handlers at runtime. DEMONSTRATES: + Assigning a function to the OnClick method of a TButton at runtime. COMMENTS: Works the same for any event of any object.
sirmadman