Saludos, probare lo mencionado
Antonio, si me saca del Dialogo, pero no del programa, como si ubiera presionado ESC, el programa sigue funcionando normalmente ....
if nID == IDOK
::GoNextCtrl( GetFocus() )
if ! ::lModal
return 0
endif
#include "FiveWin.ch"
function Main()
local oWnd
DEFINE WINDOW oWnd
ACTIVATE WINDOW oWnd ON INIT NonModal()
return nil
function NonModal()
local oDlg, oRad, nValue := 1
DEFINE DIALOG oDlg
@ 1, 1 RADIO oRad VAR nValue ;
ITEMS "&One", "&Two", "T&hree" SIZE 80, 12
@ 3, 10 BUTTON "Ok" ACTION MsgInfo( "ok" )
ACTIVATE DIALOG oDlg NOMODAL CENTER
return nil
#define PAGE1 oFolder:aDialogs[1]
DEFINE BRUSH oBrush RESOURCE "confetti"
DEFINE DIALOG oDlg NAME "FOLDERX" BRUSH oBrush
REDEFINE FOLDER oFolder ;
ID 102 OF oDlg ;
ITEMS "Opcion 1" ;
DIALOGS "DIALOG_1"
REDEFINE GET oGet1 ;
VAR cVar1 ;
ID 201 OF PAGE1 ;
PICTURE "9999999999"
//20 get mas
ACTIVATE DIALOG oDlg ;//CENTERED ;
ON INIT ( oDlg:nHeight+= 50,;
oFolder:nHeight+= 100,;
SetImages( oDlg, { "venta.bmp" }, oFolder ) ) ;
NOMODAL
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Enrico Maria Giordano, Google [Bot] and 27 guests