TmvFont.HandleAllocated

TmvFont

  Classes Reference > Auxiliary Classes > TmvFont > TmvFont Methods >

TmvFont.HandleAllocated

TmvFont

Previous pageReturn to chapter overviewNext page

Indicates whether the TmvFont object has acquired a handle to the underlying GDI font object.

function HandleAllocated: Boolean;

Description

Use HandleAllocated to determine whether the Handle property is set for the GDI font object. HandleAllocated indicates whether the underlying GDI font object has been acquired. Use HandleAllocated rather than reading the Handle property. When an application reads the Handle property, TmvFont descendants automatically create the underlying GDI font object and return its handle if the property had not been previously set.

Go to CAD VCL Enterprise