Forum > LCL

DBGrid exit

<< < (2/2)

iru:
Gentlefolk,

The cause of the program going through the DBGrid.OnExit when clicking on a button immediatley after the form is displayed is simple.

When the form is created/loaded the DBGrid gets the focus! By chance/creation order in the test program, because I specifically set the DBGrid with the focus in my project.

Clicking on the button changed the focus, hence the DBGrid.OnExit.

Need to think about things.

The end, Ian

Navigation

[0] Message Index

[*] Previous page

Go to full version