Browse with lCellStyle and Setcolor

Browse with lCellStyle and Setcolor

Postby Maurizio » Fri Apr 21, 2006 6:57 am

Hello Antonio

There are problem with SetColor and lCellStyle , the row focused is
always black and white

Maurizio


#include "FWCE.ch"
REQUEST DBFCDX
//----------------------------------------------------------------------------//
function Main()

local oWnd, oBrw, hBmp := ReadBitmap( CurDir() + "\go.bmp" )

USE ( CurDir() + "\Customer" ) VIA "DBFCDX"
DEFINE WINDOW oWnd TITLE "Tutor10"
@ 1, 1 LISTBOX oBrw ;
FIELDS hBmp, Customer->Last, Customer->First,Customer->City ;
SIZES 15,65,65 ,65 ;
HEADERS "", "Last", "First" ;
SIZE 280, 190

oBrw:lCellStyle := .t.
oBrw:SetColor( CLR_HRED,CLR_YELLOW )

@ 12, 2 BUTTON "Done" SIZE 80, 30 ;
ACTION oWnd:End()

ACTIVATE WINDOW oWnd ;
ON CLICK MsgInfo( "Click!" )

return nil
//----------------------------------------------------------------------------//
User avatar
Maurizio
 
Posts: 820
Joined: Mon Oct 10, 2005 1:29 pm

Postby Antonio Linares » Tue Apr 25, 2006 7:51 am

Maurizio,

Fixed. In a few minutes a new FWPPC build will be available for download. Thanks for your feedback,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41940
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 14 guests