Welcome, Guest  :: Login 

EntrySet.Controls Namespace

ControlFlash Component

 

ControlFlash component can flash in color any visual control. That may be used in data validation. ControlFlash flashes in red the background of the editbox, which contains invalid data.


ControlFlash is component, which can blink any visual control. This can be used e.g. when you validate the data when the control, which contains invalid data, blinks in red.

Enter the EditBox control and ControlFlash component on the form. In Control property of the ControlFlash set EditBox1. FlashProperty has the Style.BackColor set and FlashControl property has set Red, which means, that it will cause the blinking background of the editbox in red color.

In code enter this command where the first parameter determines the number of blinks and the second parameter determines the interval in milliseconds.

ControlFlash1.Flash(5, 500)