ReSize_Label - cTextEdit
Called to resize the object's label after a font change
Type: Procedure
Syntax
Procedure ReSize_Label
Call Example
Send ReSize_Label
Description
Changing the font of an object's label that is already paged requires that the label is resized.
Sample
Object oCustomer_Name is a dbForm
Entry_Item Customer.Name
Set Label to "Name:"
Set Size to 13 186
Set Location to 20 72
Set peAnchors to anTopLeftRight
Set Label_Col_Offset to 2
Set Label_Justification_Mode to jMode_Right
// this sample method can be called from some other part of code
Procedure AdjustLabel
Set Label_TypeFace to "Courier"
Set Label_FontWeight to 8
Send Resize_Label
End_Procedure
End_Object // oCustomer_Name
Resize_Label does not need to be called after a label value change, as this happens automatically.