Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TAdvStringGrid
property grid.ControlLook.RadioRange: Boolean
property grid.ControlLook.RadioRange: Boolean
Settings this property to true allows a shortened display of a radiogroup where the first radiobutton text value is shown left from the radiobutton and the last one right from the button. This allows to have only the minimum text left and right of the radiobutton group. Code snippet:
var sl: TStringList; begin AdvStringGrid1.Cells[1,0] :=''Score''; AdvStringGrid1.Alignments[1,0] := taCenter; sl := TStringList.Create; sl.Add(''0''); sl.Add(''''); sl.Add(''''); sl.Add(''''); sl.Add(''''); sl.Add(''5''); AdvStringGrid1.ControlLook.RadioRange := true; AdvStringGrid1.ColWidths[1] := 120; AdvStringGrid1.AddRadio(1,1,1,0,sl); end;