Problem with TMPICKER not firing :bChange

Problem with TMPICKER not firing :bChange

Postby fraxzi » Thu Jun 28, 2018 7:54 am

HI All,

Anyone experience this?

.PRG
Code: Select all  Expand view  RUN

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 view  RUN

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
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Problem with TMPICKER not firing :bChange

Postby nageswaragunupudi » Thu Jun 28, 2018 5:49 pm

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10662
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Problem with TMPICKER not firing :bChange

Postby fraxzi » Fri Jun 29, 2018 12:38 am

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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 65 guests