• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

Initial cursor placement when form comes up

Real easy one here. I have made a delphi program with a very simple data entry form with only a couple of edit boxes. When I fire up this program, I want the cursor to be parked and flashing in the first edit box. Right now I have to manually click on it to get the cursor there.
0
aztec
Asked:
aztec
1 Solution
 
ygolanCommented:
Set the form's ActiveControl property to the desired edit box.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now