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

Вниз

Как из строки TfrmTest получить ссылку на класс TfrmTest   Найти похожие ветки 

 
George3 ©   (2002-12-20 13:32) [0]

для использования в методе Application.CreateForm(TfrmTest, frmTest)? Подскажите кто знает. С уважением


 
stone ©   (2002-12-20 13:37) [1]

FindClass("TfrmTest")


 
stone ©   (2002-12-20 13:39) [2]

сорри немного не то


 
han_malign ©   (2002-12-20 13:44) [3]

function GetClass(const ClassName: string): TPersistentClass;

Description
Call GetClass to obtain a class from a class name. This class can be used as a parameter to routines that require a class.

The Class must be registered before GetClass can find it. Form classes and component classes that are referenced in a form declaration (instance variables) are automatically registered when the form is loaded. Other classes can be registered by calling RegisterClass or RegisterClasses.


 
Skier ©   (2002-12-20 13:46) [4]

>George3
1) RegisterClass(es)
2) FindClass(...) или GetClass(...)
GetClass не генерит Exception



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

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

Наверх




Память: 0.47 MB
Время: 0.008 c
4-1935
.nuke
2002-11-16 14:07
2003.01.02
grayscale


14-1857
dimonf
2002-12-11 17:23
2003.01.02
Нужен компонент типа Gauge в виде круга, типа как в The Bat.


3-1752
EternalWonderer
2002-12-10 17:26
2003.01.02
CONNECT BY PRIOR ID = PARENT


1-1832
SDS
2002-12-20 17:46
2003.01.02
Есть цвет RGB надо узнать какой цвет ему


1-1792
Ipx
2002-12-20 14:04
2003.01.02
Получить список псевдонимом баз данных