====== jLamp ====== The ''jLamp'' control is designed to mimic an indicator lamp typically found on dash boards and control panels. ===== CornerRadii Property ===== The ''CornerRadii'' property can be used to set shape of the lamp's four corners when the [[.:jlamp#shape_property|Shape]] property is set to ''Rectangular''. Each corner can be set independently. {{.:lampcornerradii.mp4?400x116}} ===== OffAppearance and OnAppearance Properties ===== The ''OffAppearance'' and ''OnAppearance'' properties provide the ability to customize the appearance of the jLamp when it is in the //Off// state or the //On// state (see the [[.:jlamp#ison_property|IsOn property]]), respectively. |{{.:lamp.mp4?116x114}}|{{ .:lampproperties.png?nolink |}}| ===== IsOn Property ===== This ''IsOn'' property is used to change the state of the control. When ''IsOn'' is ''true'', the ''jLamp'' control will display according to the ''OnAppearance'' property. When ''IsOn'' is ''false'', it will display according to the ''OffAppearance'' property. {{.:lampison.mp4?364x139}} ===== Shape Property ===== The ''Shape'' property can be used to select the overall shape of the button: ''Rectangular'' or ''Round'' |{{ .:lampshaperound.png?nolink |}}|{{ .:lampshaperoundproperties.png?nolink |}}| |{{ .:lampshaperectangular.png?nolink |}}|{{ .:lampshaperectangularproperties.png?nolink |}}| ===== Text Features ===== ''jLamp'' employs the same text features used by many of the other controls in the jControls CF35 library including ''ForeColor'', ''TextOffset'', ''TextAlignment'', and ''TextWrap''. See [[.:Text Features]] for more information.