Ocultar Header Xbrowse (Solucionado)

Ocultar Header Xbrowse (Solucionado)

Postby jbrita » Sat Aug 19, 2017 2:12 am

amigos necesito ocultar los encabezados del xbrowse

Saludps
Last edited by jbrita on Sat Aug 19, 2017 2:36 am, edited 1 time in total.
jbrita
 
Posts: 485
Joined: Mon Jan 16, 2006 3:42 pm

Re: Ocultar Header Xbrowse

Postby oliveiros junior » Sat Aug 19, 2017 2:22 am

Olá,

Tente

WITH OBJECT oBrowse
:lHeader := .F. // Remover o cabeçalho

END

Atenciosamente,

Oliveiros Junior
oliveiros junior
 
Posts: 122
Joined: Tue Mar 20, 2007 3:13 pm

Re: Ocultar Header Xbrowse

Postby D.Fernandez » Sat Aug 19, 2017 2:33 am

Hola, te paso lo mismo que me enseñó Francisco J. Alegría P.
Yo lo tenía desde recursos y ahí cambia la forma de definirlo.
Saludos
Ruben Dario Fernandez


Code: Select all  Expand view
Con PellesC
Window Style 0x50010000 ( tú tienes puesto 0x50310000 )


Si omites lo siguiente, apararecen las barras:
oBrSaldo:lHScroll := .F.
oBrSaldo:lVScroll := .F.

//--------------
oLbx := TXBrowse():New( oDlg )
oLbx:cAlias:="MCONTAB"

//ESTILOS DE LINEAS
oLbx:nMarqueeStyle := MARQSTYLE_HIGHLROW //normal

oLbx:nColDividerStyle := LINESTYLE_DARKGRAY //LINESTYLE_INSET
oLbx:nRowDividerStyle := LINESTYLE_DARKGRAY //LINESTYLE_INSET
oLbx:lColDividerComplete := .t. //completa pintado hasta el footer cuando lineas no llenan todo el browse
oLbx:nStretchCol := STRETCHCOL_LAST //llenar espacio con ultima columna
oLbx:lTransparent := .t.
oLbx:lContrastClr := .f. //para que no cambie color de texto automaticamente segun intensidad del fondo

//HEADERS Y FOOTERS
oLbx:nHeaderHeight := 30 //Altura cabeceras de col
oLbx:lRecordSelector := .t. //poner o no, COL de la flechita de la izq
oLbx:lAllowRowSizing := .f. // If true horizontal row sizing is allowed
oLbx:lAllowColSwapping := .f. // If true col swapping is allowed

//COLORES (texto y fondo del texto)
oLbx:bClrHeader := {|| { nRGB(140, 0, 0), nRGB( 231, 242, 255 ), } }
oLbx:bClrFooter := oLbx:bClrHeader
oLbx:bClrStd := {|| { nRGB( 0, 0, 0), nRGB(255,248,220) } } // colores para lineas normales
oLbx:bClrSel := {|| { nRGB( 0, 0, 0), aGradRowSel } } // para barra de linea selecc cuando el control no tiene el foco
oLbx:bClrSelFocus := { || { CLR_BLACK, aGradBarSel } } // para barra de linea selecc cuando el control tiene el foco
oLbx:nRowHeight := 20 //altura entre lineas


oLbx:lHScroll := .F.
oLbx:lVScroll := .F.
 
Dario Fernandez
FWH 22.12, Harbour, MVS2022 Community, BCC, MySql & MariaDB, Dbf/Cdx VSCode.
Maldonado - Uruguay
D.Fernandez
 
Posts: 455
Joined: Wed Jul 31, 2013 1:14 pm
Location: Maldonado - Uruguay

Re: Ocultar Header Xbrowse (Solucionado)

Postby jbrita » Sat Aug 19, 2017 2:36 am

perfecto muchas gracias
jbrita
 
Posts: 485
Joined: Mon Jan 16, 2006 3:42 pm


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 13 guests