Data Table DropDown - Error Property

Set to True to show the field in error

Member of Data Table DropDown (PRIM_MD.DropDown)

Data Type - Boolean


The Error property specifies whether the field will be highlighted as being in error.
The ErrorText is the text that is displayed in the Helper area of the control.


In this example, a field shows in error when the password isn't valid.
Begin_Com Role(*EXTENDS #PRIM_WEB) Height(672) Width(1017)
   Define_Com Class(#PRIM_MD.Edit) Name(#Edit) DisplayPosition(1) Label('Password') Left(112) Parent(#COM_OWNER) TabPosition(1) Top(136) ErrorText('Min 6 chars, one upper|lower|number') HelperPosition(Bottom) Height(68) Width(377)
   Evtroutine Handling(#Edit.Changed)
      #Edit.Error := *Not #Edit.Value.IsValidPassword( Medium )

See also

All Component Classes

Technical Reference

V14 SP2 - November 2017