FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Get with action
Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
Get with action
Posted: Mon Oct 20, 2008 07:37 AM
Hi all,

the new action clause for get objects is a very nice option.

How could i manage that the focus changes automatically to the next control after assigning a value from a picklist?

I tried
...;
      ACTION ( ::VarPut( cGetPicklist() ), ::Refresh(), oNextControl:SetFocus() )

But the focus remains on the get object.

Thanks for every idea.
Detlef
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Get with action
Posted: Mon Oct 20, 2008 07:41 AM

Detlef,

try oGet:oJump := oNextControl

kind regards

Stefan
Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
Get with action
Posted: Mon Oct 20, 2008 07:58 AM
StefanHaupt wrote:Detlef,

try oGet:oJump := oNextControl


Stefan,

unfortunatelly it doesn't work :-)

But thanks for your hint.
Detlef
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Get with action
Posted: Mon Oct 20, 2008 08:02 AM

And what about

oNextControl:PostMsg( WM_SETFOCUS )

?

EMG

Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
Get with action
Posted: Mon Oct 20, 2008 08:14 AM
Enrico,

many thanks, oNextControl:PostMsg( WM_SETFOCUS ) works fine.

Regards,
Detlef

Continue the discussion