Математические операторы.............................................................................................................46
Условные выражения...........................................................................................................................47
Условный оператор .............................................................................................................................47
Оператор выбора ..................................................................................................................................48
Цикл типа For.......................................................................................................................................49
Цикл типа While ..................................................................................................................................49
2.4 ПРОЦЕДУРЫ ...........................................................................................................................................49
3. ЭЛЕМЕНТЫ УПРАВЛЕНИЯ........................................................................................................................54
3.1 ИСПОЛЬЗОВАНИЕ ЭЛЕМЕНТОВ УПРАВЛЕНИЯ............................................................................................54
Свойства...................................................................................................................................................55
Методы .......................................................................................................................................................56
События .....................................................................................................................................................57
3.2 СТАНДАРТНЫЕ ЭЛЕМЕНТЫ УПРАВЛЕНИЯ .................................................................................................58
Кнопка (CommandButton) .................................................................................................................58
Надпись (Label) ..................................................................................................................................59
Текстовое поле (TextBox).............................................................................................................59
Флажок (CheckBox) .............................................................................................................................61
Переключатель (OptionButton) ...................................................................................................61
Список (ListBox)................................................................................................................................62
Поле со списком (ComboBox)........................................................................................................63
Полосы прокрутки (ScrollBar) ...................................................................................................63
Таймер (Timer) ....................................................................................................................................64
Список устройств (DriveListBox)............................................................................................64
Список каталогов (Directory ListBox) ................................................................................65
Список файлов (FileListBox) .....................................................................................................65
Рамка (Frame).......................................................................................................................................66
Окно с рисунком (PictureBox) ...................................................................................................66
Изображение (Image) ........................................................................................................................67
3.3 АКТИВИЗАЦИЯ ЭЛЕМЕНТОВ УПРАВЛЕНИЯ................................................................................................67
3.4 МАССИВЫ ЭЛЕМЕНТОВ УПРАВЛЕНИЯ .......................................................................................................67
3.5 ФОРМЫ ...................................................................................................................................................68
Свойства формы ....................................................................................................................................68
События формы.......................................................................................................................................69
3.6 МЕНЮ.....................................................................................................................................................69
Правила составления меню.............................................................................................................70
Создание меню.......................................................................................................................................70
Правила назначения имени.............................................................................................................70
Свойства Visible, Enabled, Checked.....................................................................................71
4. ВВЕДЕНИЕ В ОБЪЕКТНО-ОРИЕНТИРОВАННОЕ ПРОГРАММИРОВАНИЕ .........................................71
4.1 АБСТРАГИРОВАНИЕ ................................................................................................................................71
4.2 ИНКАПСУЛЯЦИЯ......................................................................................................................................72
4.3 НАСЛЕДОВАНИЕ......................................................................................................................................72
4.4 ПОЛИМОРФИЗМ........................................................................................................................................73
4.5 МОДУЛЬ КЛАССА....................................................................................................................................73
4.6 СВОЙСТВА .............................................................................................................................................73
4.7 ПРОЦЕДУРЫ СВОЙСТВ ............................................................................................................................74
Оператор Property Let....................................................................................................................74
Оператор Property Get....................................................................................................................74
Оператор Property Set....................................................................................................................75
4.8 МЕТОДЫ .................................................................................................................................................75
Синтаксис процедуры ........................................................................................................................75
Синтаксис функции .............................................................................................................................75
Мастер классов ....................................................................................................................................76
Использование.......................................................................................................................................76
4.9 СОБЫТИЯ ...............................................................................................................................................76
4.10 ОБЪЕКТЫ, ОПРЕДЕЛЯЕМЫЕ ПОЛЬЗОВАТЕЛЕМ .....................................................................................77
4.11 КАТАЛОГ ОБЪЕКТОВ ..........................................................................................................................78