Thanks for the second answer.
About the first :
I have to check if a record exist, I usually launch a message which tells the user that the record was not found, now I was asked to leave the focus on the same control or in some case to set the focus to the preceding column.
I put the code in the lost focus event, something like this :
do case
case somecondition
this.setfocus()
case othercondition
this.parent.parent.columns(ncol).txt.setfocus()
endcase
*
this approach does not work properly, maybe i interact in a wrong way with my classes but i'm very mixed up
*
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only