 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Neil Macintyre Guest
|
Posted: Thu Feb 19, 2004 5:00 pm Post subject: Retrieving focus |
|
|
I have a method that processes records in a table.
At various points requires the user to make a choice and does so by
displaying a grid, which the user can select from. Thus the code
looks something like:
Procedure myMethod
Begin
// locate the start point
//while not the end point do begin
// determine next point on route
if choices > 0 then
Grid.SetFocus
// move to next point
end;
end;
The problem I have is how do I retrieve focus once the user has
clicked on a row on the grid (i.e. continue running the procedure
myMethod).
I suppose I could place the Grid on a separate form, and then close
that form when the user selects a row from the grid. However, is
there some way of doing this without introducing another form?
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|