BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Retrieving focus

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.databases
View previous topic :: View next topic  
Author Message
Neil Macintyre
Guest





PostPosted: Thu Feb 19, 2004 5:00 pm    Post subject: Retrieving focus Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.databases All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.