Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't use components on mainform from usersession
#1
Hello,

Why I can't use components which are on IWMainform from usersession unit?

I have IWMainform which is mainfrm.pas and mainfrm.dfm. Then I place IWLabel on IWMainform.

Then I open Usersession unit and I create procedure:

uses mainfrm;

Procedure IWUsersession.BLA;
begin
  IWMainform.IWLabel1.caption:='blabla';   <<< Here i got error Undeclared identifier 'IWMainform' ??
end;

I use latest version 16.0.9
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)