Página 1 de 1

CLASS TGRIDBOX

Publicado: Mié Abr 28, 2021 1:09 pm
por Cristobal
Aplicar técnica display="grid" desde BEACON
Puedes ver los videos sobre FLEX y GRID
viewtopic.php?p=386#p386
viewtopic.php?p=387#p387
Y en este subforo hay ejemplos sobre el tema,
viewforum.php?f=16
que son ideales para intentar pasarlos a BEACON y así ayudarme a depurar estas clases
Mostrar Spoiler

Código: Seleccionar todo

CLASS TGridBox FROM TContainer

   DATA nGridRows         INIT 0
   DATA nGridCols         INIT 0
   DATA cGridArea         INIT ""
   DATA cGrid             INIT ""
   DATA cGridTpl          INIT ""
   DATA cGridTplCols      INIT ""
   DATA cGridTplRows      INIT ""
   DATA cGridGap          INIT ""
   DATA cGridGapVert      INIT ""
   DATA cGridGapHorz      INIT ""
   DATA cGridRepeat       INIT ""

   METHOD New( lCompact, nType, cClass, nH, nW ) CONSTRUCTOR
   METHOD SetGridGap( nVer, nHorz )
   METHOD SetGridArea( cClass, nRows, nCols )
   METHOD SetGridRepeat( nRowCols, cWidth )
   METHOD SetGridTplAreas( cTemplate )
   METHOD SetGridTplCols( aCols )
   METHOD SetGridTplRows( aRows )

ENDCLASS