Jump to content
Fivewin Brasil

Browse com checkbox


atnsoft

Recommended Posts

tanto para tc/ts browse

ADD COLUMN TO BROWSE oBrwPro4 DATA ARRAY ELEMENT 4 TITLE " + " ALIGN DT_CENTER SIZE 25 3DLOOK TRUE CHECKBOX EDITABLE MOVE DT_MOVE_NEXT

Alessandro F. Silvaid=blue>

FW2.0d+CL53b+Blinker 7.0+@Say+CDX

MSN: ferracini_silva@hotmail.com

Ribeirão Preto/SP

O que sabemos é uma gota. O que ignoramos é um oceano.id=red>

Link to comment
Share on other sites

citação:

tanto para tc/ts browse

ADD COLUMN TO BROWSE oBrwPro4 DATA ARRAY ELEMENT 4 TITLE " + " ALIGN DT_CENTER SIZE 25 3DLOOK TRUE CHECKBOX EDITABLE MOVE DT_MOVE_NEXT

Alessandro F. Silvaid=blue>

FW2.0d+CL53b+Blinker 7.0+@Say+CDX

MSN: ferracini_silva@hotmail.com

Ribeirão Preto/SP

O que sabemos é uma gota. O que ignoramos é um oceano.

id=red>


id=quote>id=quote>

Com listbox é possivel???

Marcelo Michels

celo.michels@ibestvip.com.br

celo.michels@hotmail.com

marcelo@lorenzi.com.br

-> Lorenzi Soluções Têxteis <-

Criciuma - SC

xHarbour build 0.99.2 + WS

Link to comment
Share on other sites

pelo o que o Evaldo disse sim, mas eu nunca mexi com o listbox, então não sei lhe informar.

Alessandro F. Silvaid=blue>

FW2.0d+CL53b+Blinker 7.0+@Say+CDX

MSN: ferracini_silva@hotmail.com

Ribeirão Preto/SP

O que sabemos é uma gota. O que ignoramos é um oceano.id=red>

Link to comment
Share on other sites

Olha se te ajuda.....

local aHBitMaps:= { LoadBitmap(GetResources(), 'C_CHF' ),LoadBitmap(GetResources(), 'C_CHT' ) }

local aDocs:={ { space( 1 ), space( 3 ), space( 35 ), space( 5 ) } }

REDEFINE LISTBOX oLbx2 FIELDS iif(aDocs[olbx2]=' ',aHBitMaps[1],aHBitMaps[2] ),;

aDocs[olbx2],substr( aDocs[olbx2],1,30 ) ;

ID 900 FIELDSIZES 20,30,230 ;

HEADERS ' S/N ',' Cód ',' Descrição ';

ON DBLCLICK MarcaDesVet( aDocs, oLbx2 )

oLbx2:nLineStyle := 2

oLbx2:nHeaderStyle:= 2

oLbx2:bBkColor:= {|nRow,nCol,nStyle| if( nStyle==1,CLR_RED, ) }

oLbx2:bTextColor:= {|nRow,nCol,nStyle| if( nStyle==1,CLR_YELLOW, ) }

oLbx2:aJustify:= { 2, 2, .f. }

olbx2:SetArray( aDocs )

olbx2:refresh()

function MarcaDesVet( aVetor, olbx, cMarDesAll )

local x

DEFAULT cMarDesAll:=' '

if cMarDesAll$'DM'

for x=1 to len( aVetor )

aVetor[x,1]:=iif( cMarDesAll='M',if( aVetor[x,1]='*',' ','*' ),' ' )

next

else

if aVetor[olbx] = ' '

aVetor[olbx] := '*'

else

aVetor[olbx] := ' '

endif

endif

oLbx:Refresh()

return .t.

FW26/XH9950/Pelles/Mysql/Java

laurentinocarlos@gmail.com

Rio de Janeiro/Montes Claros MG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...