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 !!!!!
Dtepicker
-
- Posts: 108
- Joined: Sun Oct 09, 2005 6:12 pm
- Location: Mar del Plata - Argentina
- Contact:
Re: Dtepicker
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
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 !!!!!