Problem with TMPICKER not firing :bChange

Post Reply
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Problem with TMPICKER not firing :bChange

Post by fraxzi »

HI All,

Anyone experience this?

.PRG

Code: Select all | Expand


FUNCTION uIssues()
 LOCAL oDlg,;
       oFld
 LOCAL aVar := { cToD(''),;
                 cToT('') }
       aGet := Array( Len(aVar) )


 DEFINE DIALOG oDlg RESOURCE 'DLG_ZZZTEST';
        PIXEL

        REDEFINE DTPICKER aGet[ 1 ] VAR aVar[ 1 ];
                 ID 1001 OF oDlg UPDATE;
                 PICTURE 'MM/DD/YYYY'

        REDEFINE TMPICKER aGet[ 2 ] VAR aVar[ 2 ];
                 ID 1002 OF oDlg  UPDATE

 ACTIVATE DIALOG oDlg;
          ON INIT ( aGet[1]:bchange := {|| Msginfo('Date Changed')},;
                        aGet[2]:bchange := {|| Msginfo('Time Changed')} )

RETURN( NIL )
 


.RC

Code: Select all | Expand


DLG_XXXTEST DIALOGEX 0,0,284,123
FONT 9,"Verdana"
STYLE WS_CHILDWINDOW|WS_VISIBLE
BEGIN
  CONTROL "",1001,"SysDateTimePick32",WS_VISIBLE|WS_DISABLED|WS_TABSTOP|DTS_SHOWNONE,14,16,61,13
  CONTROL "",1002,"SysDateTimePick32",WS_VISIBLE|WS_DISABLED|WS_TABSTOP|DTS_TIMEFORMAT|DTS_SHOWNONE,14,32,61,13
END
 


:?:
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
nageswaragunupudi
Posts: 10733
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 11 times
Contact:

Re: Problem with TMPICKER not firing :bChange

Post by nageswaragunupudi »

bChange of TimePicker is not working now.
This will work in next release 18.05
Regards

G. N. Rao.
Hyderabad, India
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Re: Problem with TMPICKER not firing :bChange

Post by fraxzi »

Thanks Mr. Rao! :wink:
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
Post Reply