Home Index classes Index static functions Index enumerations Index structure types

{Label|_control}


CLASS {Label|_control} , UNTESTED :



A visual form component - text label. Usually, a label is created immediately before an associated with it visual control is created. If the label is sufficiently short and an associated control does not require entire parent column width, then both the label and the control can be placed in one row in the parent column (but only if the column is aligned left, right or center).See also a definition of its ancestor {Control} and of a form: {Form}.


IMPORT : {Control} , {AL4_form} , {Form} .


BASE CLASS {Control} .



------------------------------------------------------------------ 'create'

 

FUNCTION New_label (
     
{Form} Form|_parent ,
     
STR Caption|_label_use_as_alias ) ==> {Label} , NEW



-------------------------------------------------------------------- 'text'

 

OVERRIDE Set_text ( STR Text|_new ) , REPLACE


END