...
aadd( aArray,{ space(15),Space(30) } )
DEFINE BRUSH oBrush RESOURCE "wood"
REDEFINE BROWSE oLbx ID 103 OF oDlg CELLED ;
COLORS CLR_BLACK, RGB( 255, 255, 235) ;
ALIAS "ARRAY"
oLbx:SetArray( aArray )
oLbx:nHeightCell += 5 //filas
oLbx:nHeightHead += 10 //columnas
oLbx:SetColor( { 9, 10 }, { CLR_BLACK, oBrush } ) // brushed Footers background
oLbx:SetColor( { 5, 6, 4, 15 }, ;
{ CLR_WHITE, CLR_BLACK, ; // cursor
oBrush, ; // brushed headers background
CLR_BLACK }, ; // grid lines
NIL )
ADD COLUMN TO BROWSE oLbx DATA oLbx:nLogicPos() ;
TITLE "Item" ;
SIZE 42 PIXELS ;
3DLOOK TRUE,TRUE,FALSE ;
ALIGN DT_CENTER,DT_CENTER,DT_CENTER;
COLORS CLR_BLACK, CLR_HGRAY
ADD COLUMN TO BROWSE oLbx DATA ARRAY ELEMENT 1;
TITLE "Código" ;
SIZE 100 PIXELS ;
3DLOOK TRUE,TRUE,FALSE ;
ALIGN DT_LEFT,DT_CENTER,DT_CENTER;
COLORS CLR_BLACK, RGB( 255, 255, 235)
ADD COLUMN TO BROWSE oLbx DATA ARRAY ELEMENT 2;
HEADER "Descripción" ;
SIZE 204 PIXELS ;
3DLOOK TRUE,TRUE,FALSE ; // cels, header, footer
ALIGN DT_LEFT,DT_CENTER,DT_CENTER ; // cells, header, footer
COLORS CLR_BLACK, RGB( 255, 255, 235)//COLORS CLR_BLACK, CLR_HGRAY
ACTIVATE DIALOG oDlg CENTERED
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: No registered users and 71 guests