I have on W7 an error when select a menu popup on a rbtn then I try to press the button close of the dialog and the dialog not is closed
if I not select the menupopup then I can close the dialog
this is the source test
if I not select the menupopup then I can close the dialog
this is the source test
#include "fivewin.ch"
#include "xBrowse.ch"
#include "constant.ch"
#include "ribbon.ch"
#define TOPSCOPE 0
#define BOTTOMSCOPE 1
REQUEST DBFCDX
REQUEST DBFFPT
EXTERNAL ORDKEYNO,ORDKEYCOUNT,ORDCREATE,ORDKEYGOTO
Function test()
Local oDlg
Local nBottom := 38.9
Local nRight := 106.5
Local nWidth := Max( nRight * DLG_CHARPIX_W, 180 )
Local nHeight := nBottom * DLG_CHARPIX_H
MENU oPopRecord POPUP
MENUITEM "Record and Print"
MENUITEM "Record and Email"
MENUITEM "Record and Fax"
MENUITEM "Record and Payment"
MENUITEM "Record only"
MENUITEM "Save as Draft"
MENUITEM "Save as Recurring"
SEPARATOR
MENUITEM "Preview"
ENDMENU
DEFINE DIALOG oDlg ;
TITLE "New Invoice" ;
SIZE nWidth, nHeight TRANSPARENT PIXEL
@ 270, 65 RBBTN PROMPT "Record select ";
SIZE 100,12 ;
OF oDlg PIXEL ;
POPUP MENU oPopRecord BORDER ROUND
ACTIVATE DIALOG oDlg centered
RETURN NILSince 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