FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Dtepicker
Posts: 142
Joined: Sun Oct 09, 2005 10:59 AM
Dtepicker
Posted: Tue Oct 11, 2005 04:16 PM

Hello,

When i jump to the pick routine , on returning NO FOCUS OBJECT is visible. I have to press the TAB button to see the next object in focus

It is very confusing and frustrating for a user to see no focus !!!!!

Posts: 108
Joined: Sun Oct 09, 2005 06:12 PM
Re: Dtepicker
Posted: Wed Oct 12, 2005 01:47 AM
Frank:

You must set the focus with :setfocus. Here you have an example with btnget class:

REDEFINE BTNGET oDesde VAR cDesde ID 113 OF oDlg ;
RESOURCE "B_Cld" PICTURE "@D" VALID ValDesde(oBrw,vCodigo,@cDesde,oDesde,@vSaldo,oSaldo) ;
FONT oFont3;
ACTION (aRec :=GetCoors(oDesde:hWnd),;
cDesde:=Calend(cDesde,aRec[1],aRec[4],oDlg),;
oDesde:Refresh(),oDesde:SetFocus())

Regards

Frank Demont wrote:Hello,

When i jump to the pick routine , on returning NO FOCUS OBJECT is visible. I have to press the TAB button to see the next object in focus

It is very confusing and frustrating for a user to see no focus !!!!!
Daniel Puente
Mar del Plata, Argentina
danielpuente@speedy.com.ar
puenteda@hotmail.com

Continue the discussion