Use Columns to specify the number of columns, in a multi-column list box, that are visible without having to use the horizontal scrollbar. Multi-column list boxes have a horizontal scrollbar that allows users to view multiple columns as they wrap. The default value for Columns is 0, meaning that the list box is not multi-column. That is, users can scroll only vertically and the list of items will not wrap. For Columns values greater than 0, multiple columns accommodate the items as they wrap beyond the bottom of the list box. The Columns property specifies the number of columns that are visible without having to horizontally scroll the list box. The width of each column depends upon both the Width property and the number of Columns. |
$cb = "option2;option7" $formexit = form($form,"") msgOk msg="Checked boxes: $cb" <Data> VarName=$form #******************************************************************** # Form generated by GSAK form designer on Sun 02-Sep-2007 09:41:00 #******************************************************************** Name = Form1 Type = Form Height = 251 Width = 296 Name = cb Type = Checklistbox Columns = 3 Height = 73 Left = 24 Top = 40 Values = Option1;Option2;Option3;Option4;Option5;Option6;Option7;Option8 Width = 225 Name = btnOk Type = Button Height = 25 Left = 40 Top = 168 Width = 75 Caption = OK Name = btnCancel Type = Button Height = 25 Left = 144 Top = 168 Width = 75 Caption = Cancel <enddata> |