function BuildLineStyle() { var Top = 2; CurrentLeft = CurrentLeft + 50; LineStyles[0] = new TImageButton(1, "Images/W1N.png", "Images/W1M.png", "Images/w1d.png", CurrentLeft, Top, 128, 16, Toolbar, 2); Toolbar.AddButton(LineStyles[0]); Top = Top + 14; LineStyles[1] = new TImageButton(2, "Images/W2N.png", "Images/W2M.png", "Images/w2d.png", CurrentLeft, Top, 128, 16, Toolbar, 2); Toolbar.AddButton(LineStyles[1]); Top = Top + 14; LineStyles[2] = new TImageButton(3, "Images/W3N.png", "Images/W3M.png", "Images/w3d.png", CurrentLeft, Top, 128, 16, Toolbar, 2); Toolbar.AddButton(LineStyles[2]); Top = Top + 14; LineStyles[3] = new TImageButton(4, "Images/W4N.png", "Images/W4M.png", "Images/w4d.png", CurrentLeft, Top, 128, 16, Toolbar, 2); Toolbar.AddButton(LineStyles[3]); Top = Top + 14; LineStyles[4] = new TImageButton(5, "Images/W5N.png", "Images/W5M.png", "Images/w5d.png", CurrentLeft, Top, 128, 16, Toolbar, 2); Toolbar.AddButton(LineStyles[4]); Top = Top + 14; LineStyles[5] = new TImageButton(6, "Images/W6N.png", "Images/W6M.png", "Images/w6d.png", CurrentLeft, Top, 128, 16, Toolbar, 2); Toolbar.AddButton(LineStyles[5]); Top = Top + 14; CurrentLeft = CurrentLeft + 140; }