Dtepicker

Dtepicker

Postby Frank Demont » Tue Oct 11, 2005 4: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 !!!!!
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Re: Dtepicker

Postby DanielPuente » Wed Oct 12, 2005 1: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
DanielPuente
 
Posts: 108
Joined: Sun Oct 09, 2005 6:12 pm
Location: Mar del Plata - Argentina


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 14 guests