VLPropertyList Reference

Read/Write PropertyhFont

(For advanced usage)
See AlsoSee Also Applies To Applies To

Sets the Font resource handle for an editor.

 

Syntax

object.hFont [= hEditFont]

 

The Font property syntax has these parts:
PartDescription
object An object expression that evaluates to CEditor
hEditFont A handle to a Font resource obtained from the Microsoft Windows operating environment.

 

Remarks

This property will be used by VLProperyList control to set font of the editor as per the font setting of the property being edited. You are free to ignore the value passed and instead use your own font setting (at the risk of a mismatch in the look and feel).

Creation and destruction of this font resource passed by VLPropertyList control is handled internally, you should never delete (using DeleteObject API) this resource in your editor's implementation.

Please note that VLPropertyList control will specify a font handle and not an object of type StdFont.