FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Control DTPICKER
Posts: 537
Joined: Mon Jan 16, 2006 03:42 PM
Control DTPICKER
Posted: Wed Mar 31, 2021 08:19 PM

Hola Amigos necesito de su ayuda. tengo este control

REDEFINE DTPICKER aGets[1] var oFecha1 ID 121 OF oDlg UPDATE
REDEFINE DTPICKER aGets[2] var oFecha2 ID 122 OF oDlg UPDATE

no me deja cambiar la fecha con el teclado (digitando)

trabajo con workshop

saludos

Posts: 476
Joined: Sat Feb 03, 2007 06:36 AM
Re: Control DTPICKER
Posted: Wed Mar 31, 2021 08:26 PM
Prueba de esta forma:

Code (fw): Select all Collapse
REDEFINE DTPICKER oDt1 VAR aGets[1] ;
         OF oDlg ;
         ID 102 ;
         UPDATE PICTURE "dd/mm/yyyy"

oDt1:bChange = { || IIf( oDt1:lClosed .and. oDt1:lFocused, oDt1:PostMsg( WM_KEYDOWN, VK_RIGHT ),) }


Saludos cordiales.

Carlos
Posts: 537
Joined: Mon Jan 16, 2006 03:42 PM
Re: Control DTPICKER
Posted: Wed Mar 31, 2021 08:44 PM

resulto muchas gracias

Continue the discussion