rao - xbrowse with nMarqueeStyle 7

rao - xbrowse with nMarqueeStyle 7

Postby carlos vargas » Wed Nov 19, 2014 10:11 pm

Rao, using the mouse scrolling in a browse with nMarqueeStyle 7 (win7 bar)
the border of cursorof row move correct, but the color background no.

Image
Code: Select all  Expand view
  REDEFINE XBROWSE oBrwD ALIAS "EMPL_DOC" ;
      ID 104 OF oDlgD ;
      FONT oFontD

   ADD TO oBrwD DATA EMPL_DOC->NOMBRE+CRLF+EMPL_DOC->DESCRIPCIO  TITLE "Nombre de archivo"+FINL+"Descripción" SIZE 350
   ADD TO oBrwD DATA EMPL_DOC->FECHA                             TITLE "Fecha"                                SIZE 070 LEFT

   WITH OBJECT oBrwD
      :MyConfig()
      :aCols[ 01 ]:bPaintText := { |oCol, hDC, cText, aCoord| XColDrawText( oCol, hDC, cText, aCoord ) }
      :lHScroll      := FALSE
      :nHeaderHeight := 36
      :nFreeze       := 2
      :nDataLines    := 2.5
      :nHeaderLines  := 2
      :nMarqueeStyle := 7
      :bLDblClick    := {|| IIf( !EMPL_DOC->( Eof() ), DocuE_Visualizar(), NIL ) }
      :bDropFiles    := {|nRow, nCol, aFiles| DocuE_DragDropFile( aFiles ) }
   END
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1686
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: rao - xbrowse with nMarqueeStyle 7

Postby nageswaragunupudi » Thu Nov 20, 2014 4:15 am

If you are not using a very old version of FWH. it is not necessary to use oCol:bPaintText for display of Win7bars. It is enough if you specify the MarqueeStyle.

bPaintText was recommended before we included painting of win7bars within xbrowse.

Please try removing bPaintText and see if your version supports it. Also please let us know the version you are using. If you still experience any problem, please let us know.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 80 guests