you need to change data whet it is being chenged in line edits? I really don't understand what you whant. btw, you don't need to force painting using repaint.