FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour GET and XBROWSE Control's Navigation Problem
Posts: 336
Joined: Mon Dec 07, 2009 02:49 PM
GET and XBROWSE Control's Navigation Problem
Posted: Sun Nov 04, 2012 01:21 PM

Hi ,

I am using MDI Child Window in that there are 5 GETs ,2 XBROWSEs and 2 Buttons controls defined. The navigation sequence is given below and the expected navigation is when control moves from 5 GET (g5) the next control XBROWSE object should get focused. But the Button Control is getting focus. Please guide me to solve this issue. Thanks in advance..!

@10,10 get aoGET[1] var g1
@30,10 get aoGET[2] var g2
@50,10 get aoGET[3] var g3
@70,10 get aoGET[4] var g4
@90,10 get aoGET[5] var g5 --> Control is moving to "Save" Button but it should move to Browse oBrw1 Control.

@120,10 XBROWSE oBrw1
@220,10 XBROWSE oBrw2

@410,10 BUTTONBMP aoGET[ 11 ] PROMPT "&Save"
@410,150 BUTTONBMP aoGET[ 12 ] PROMPT "&Quit"

Thanks
Shridhar

Thanks

Shridhar

FWH 24.04, BCC 7 32 bit, MariaDB
Posts: 336
Joined: Mon Dec 07, 2009 02:49 PM
Re: GET and XBROWSE Control's Navigation Problem
Posted: Sun Nov 04, 2012 02:27 PM

Hi ,

I tried so many things but without success. Could you please let me know how can handle this problem ?

Thanks
Shridhar

Thanks

Shridhar

FWH 24.04, BCC 7 32 bit, MariaDB
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Re: GET and XBROWSE Control's Navigation Problem
Posted: Sun Nov 04, 2012 02:39 PM

Hi Shri,

Try :

@10,10 get aoGET[1] var g1
@30,10 get aoGET[2] var g2
@50,10 get aoGET[3] var g3
@70,10 get aoGET[4] var g4
@90,10 get aoGET[5] var g5 --> Control is moving to "Save" Button but it should move to Browse oBrw1 Control.

 aoGET[5]:blostfocus :={|| aoGET[5]:ojump := obrw1 , obrw1:setfocus() ,obrw1:refresh() }

@120,10 XBROWSE oBrw1
@220,10 XBROWSE oBrw2

@410,10 BUTTONBMP aoGET[ 11 ] PROMPT "&Save"
@410,150 BUTTONBMP aoGET[ 12 ] PROMPT "&Quit"

regards,
kok

Posts: 336
Joined: Mon Dec 07, 2009 02:49 PM
Re: GET and XBROWSE Control's Navigation Problem
Posted: Sun Nov 04, 2012 03:54 PM

Hi Kok ,

I tried this and Its working. :D But for backward navigation it does not work. Currently I am using this code. Thanks a lot..!

Thanks
Shridhar

Thanks

Shridhar

FWH 24.04, BCC 7 32 bit, MariaDB

Continue the discussion