Cuando coloco STYLE nOr(WS_SYSMENU,WS_MAXIMIZE,WS_MINIMIZEBOX)
No me muestra el Browse
y sin el STYLE si muestra
Code: Select all
DEFINE WINDOW oWnd FROM 0,0 TO 475,701 PIXEL TITLE "TELEFONIA EN LINEA" STYLE nOr(WS_SYSMENU,WS_MAXIMIZE,WS_MINIMIZEBOX);
COLOR CLR_BLUE, nRGB( 182,192,192 ) ICON oIcon MENU CreaMenu(.F.)
DEFINE DIALOG oDlg RESOURCE "MUESTRA" OF oWnd
REDEFINE GET oGet VAR cTxt ID 101 MEMO READONLY OF oDlg FONT oFont
oBrw:=TXBrowse():New( oDlg )
oBrw:nMarqueeStyle:=MARQSTYLE_HIGHLROW
oBrw:lHScroll:=.F.
oBrw:bClrSel:={ || {CLR_WHITE,CLR_CYAN} }
oBrw:nColDividerStyle:= LINESTYLE_LIGHTGRAY
oBrw:bClrSelFocus:={ || {CLR_WHITE,CLR_CYAN} }
oCol:=oBrw:AddCol()
oCol:bStrData := { || TL->CENTRO+Trans(TL->NINT,'@9 #####') }
oCol:nWidth:=64
oCol:nHeadStrAlign := AL_CENTER
oCol:cHeader := "ORIGEN"
oCol:=oBrw:AddCol()
oCol:bStrData:= { || TL->NOMBRE}
oCol:cHeader := "NOMBRE"
oCol:nWidth:=208
oCol:nHeadStrAlign := AL_CENTER
oCol:=oBrw:AddCol()
oCol:bStrData:= { || TL->HORA }
oCol:cHeader := "HORA"
oCol:nWidth:=43
oCol:nHeadStrAlign := AL_CENTER
. . .
oBrw:CreateFromResource(102)
ACTIVATE DIALOG oDlg NOWAIT ON INIT (oDlg:Move( oWnd:nWidth()-702,oWnd:nHeight()-476) )
ACTIVATE WINDOW oWnd ON INIT ( oWnd:Center() )
Adhemar