I have a get date with datepick
Near I have a btnbmp with a Menu to select actions

the command MENUITEM "Pulisci" ACTION ( dDataNote :=ctod(" / / "),aGet[1]:refresh()) not run why ?
Near I have a btnbmp with a Menu to select actions

@ 12,5 SAY "Note di :" OF oDlg PIXEL SIZE 100,20 TRANSPARENT
@ 10,35 DTPICKER aGet[1] VAR dDataNote SIZE 120,12 PIXEL OF oDlg PICTURE "dddd, dd mmmm yyyy"
@ 07,220 BTNBMP oBtnCal FILENAME ".\bitmaps\date.bmp" FLAT;
SIZE 20,14 PIXEL OF oDlg NOBORDER
oBtnCal:oPopUp:= { |oBtn| BtnPopCalMenu( @dDataNote,aGet ) }
....
Function BtnPopCalMenu( dDataNote,aGet )
Local oPopupDate
MENU oPopupDate POPUP 2015
MENUITEM "Oggi" ACTION ( dDataNote :=date(),aGet[1]:refresh())
MENUITEM "Domani" ACTION ( dDataNote :=date()+1,aGet[1]:refresh())
MENUITEM "DopoDomani" ACTION ( dDataNote :=date()+2,aGet[1]:refresh())
SEPARATOR
MENUITEM "Pulisci" ACTION ( dDataNote :=ctod(" / / "),aGet[1]:refresh())
ENDMENU
return oPopupDatethe command MENUITEM "Pulisci" ACTION ( dDataNote :=ctod(" / / "),aGet[1]:refresh()) not run why ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
