Vcl.OleCtnrs.TOleContainer.ChangeIconDialog

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ChangeIconDialog: Boolean;

C++

bool __fastcall ChangeIconDialog();

Properties

Type Visibility Source Unit Parent
function public
Vcl.OleCtnrs.pas
Vcl.OleCtnrs.hpp
Vcl.OleCtnrs TOleContainer

Description

Displays the Change Icon OLE dialog box.

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.

See Also