View previous topic :: View next topic |
Author |
Message |
SabrinaK
Joined: 22 Jun 2016 Posts: 1
|
Posted: Wed Jun 22, 2016 1:12 pm Post subject: GetClass does not work after using TsiLang-Components |
|
|
Hello everybody,
At first I register the class TUniFrame1 with
RegisterClass(TUniFrame1);
After this I use the following code to get an instance of this class:
procedure TMainForm.UniButton1Click(Sender: TObject);
var
AClass: TPersistentClass;
begin
AClass := GetClass('TUniFrame1');
end;
This works exactly how it should. Afterwards there is an instance of TUniFrame1 in AClass.
But as soon as I use a TsiLang-Component (doesn't matter which one) this does not work anymore. From now on GetClass('TUniFrame1') returns nil.
Can somebody help me? This would be great
Thank you. |
|
Back to top |
|
 |
isiticov Site Admin
Joined: 21 Nov 2002 Posts: 2112
|
Posted: Thu Jun 23, 2016 8:54 am Post subject: |
|
|
Hello,
What version of TsiLang Components Suite do you use? Does the same happens for you if you use regular TFrame instead of TUniFrame? |
|
Back to top |
|
 |
|