IVTEditLink.PrepareEdit Method

Virtual Tree View

This function is called by a virtual tree to initialize the node editor.

Pascal
function PrepareEdit(Tree: TBaseVirtualTree; Node: PVirtualNode; Column: TColumnIndex): Boolean; stdcall;
Description

Use PrepareEdit to initialize the node editor. This includes getting the node content in the specified column which will be needed later when the editor is shown. BeginEdit may be called anytime after this function returns. If the initialization fails simply return false (exceptions should be trapped).

Interface
Links
What do you think about this topic? Send feedback!