How to se focus and stay in second window?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
mol
Posts: 3825
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: How to se focus and stay in second window?

Post by mol »

In my opinion, it don't work good :(
I've modified a little

Code: Select all

function selectitem( cTargetControl )
   cTarget := cTargetControl
   items.show

  // added line below
  items.SetFocus

return nil
I've added line:
items.SetFocus

And now, everything seems to be OK!
THX, Rathi!
Post Reply