RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPropertyPage.UpdateObject Method

UpdateObject is called to copy property values from the controls on the form to the ActiveX Object.

Pascal
procedure UpdateObject; virtual;
C++
virtual __fastcall UpdateObject();

Override this method to copy values from the controls on the property page to properties of the ActiveX Object. Cast the value of the OleObject property to an IDispatch interface to set the property values. 

UpdateObject is the reverse of UpdatePropertyPage, which copies the property values from the ActiveX Object to controls on the form. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!