Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.07.29;
Скачать: CL | DM;

Вниз

Code Template   Найти похожие ветки 

 
Вова   (2002-06-30 14:01) [0]

Как втавлять эти штуки в программу?


 
VDen ©   (2002-06-30 14:34) [1]

Нажми Ctrl+J.


 
Cobalt ©   (2002-06-30 21:06) [2]

Programming templates are part of the Code Insight features of Delphi, and are common, general code structures that allow you to add code specific to your programming task without having to reenter the general code structure. For instance, if you want to insert a for loop into your project you could select one of the for loop code templates. The following code is inserted:

for := to do

begin
end;

To insert a code template in the Code editor, press Ctrl-j and select the template you want to use. You can also add your own templates to this collection. To add a template:

1 Select Tools|Environment Options.
2 Click the Code Insight tab.
3 In the templates section click Add.
4 Choose a shortcut name and enter a brief description of the new template.
5 Add the template code to the Code text box.
6 Click OK.

Now your new template is available when pressing Ctrl-j.



Страницы: 1 вся ветка

Текущий архив: 2002.07.29;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.014 c
4-95615
MemoryLeak
2002-05-22 05:33
2002.07.29
Какой ф-цией пользуется TskMngr для завершения процессов?


1-95283
ION T
2002-07-17 01:40
2002.07.29
Как вызвать диалог Run


6-95476
Сатир
2002-05-16 18:52
2002.07.29
Получение файла из сервера


6-95464
Vladimir Melia
2002-05-17 16:45
2002.07.29
Работа с модемом


1-95436
TTCustomDelphiMaster
2002-07-16 21:06
2002.07.29
Ошибка при удалении объектов