Existe-t-il un moyen de souligner certaines lignes dans une table?
Je serais même heureux avec une ligne graphique dessinée en dessous de la ligne, aussi. Je peux bien sûr colorer toutes les lignes, mais je préférerais une ligne (comme une délimitation horizontale à certains endroits du tableau). merci, DJ
Vous pouvez utiliser des annotations, l'utilisateur peut les déplacer cependant:

Names default to here( 1 );
win = New Window("Text Box",
tb = Table Box(
sb = String Col Box( "letter", {"a", "b"} ),
neb = Number Col Box( "number", { 1 , 2 } )
),
<< Padding( 10 )
);
//add more rows
for( i=1, i<=10, i++, tb << Add Row( {"c", 3} ) );
//make sure table is redrawn so it has the correct size
win << redraw;
wait(0);
//Function to calculate the position of the bottom of a row within the table then
//draw a line on top of the table
AddLine = function( {tablebox, row},
ht = tablebox << Get Height;
w = tablebox << Get Width;
nrows = N Items( Words( sb << Get XML, "\!N" ) ) - 2;
tablebox << Add Line Annotation(
Line( 1, floor( row * ht / nrows ) + 1, w, floor( row * ht / nrows ) + 1 )
);
);
//Draw some lines
AddLine( tb, 2); AddLine( tb, 8); AddLine( tb, 12 );