RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.ChangeIconDialog Method

Displays the Change Icon OLE dialog box.

Pascal
function ChangeIconDialog: Boolean;
C++
__fastcall Boolean ChangeIconDialog();

Call ChangeIconDialog to let the user choose a different icon (from .ICO, .DLL, and .EXE files) to use when displaying the OLE object as an icon. An OLE object must already be loaded before calling ChangeIconDialog. ChangeIconDialog returns true if the dialog box was successfully displayed and the user chose the OK button. ChangeIconDialog returns false otherwise. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!