setting focus to a control within a datagrid

C

Craig G

i have a datagrid, i use the footer to allow the user to add records

so the user fills in the textboxes/combo's and clicks Add, this populates
properties in a class, a function within the class then checks if the
nessecary fields are complete. if it is not complete then it returns a value
to the form which i then interupt in a select case statment. within this
select case statment i want to be able to set the focus back to the control
in question

how could i do this?

Cheers,
Craig
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top