Jump to content

Application raize an error when a component (from other uniform) is referenced in anonymous procedure on showmodal.


albertovesx

Recommended Posts

UNIGUI 0.93.0.996, Firefox 19.0.2, Windows 7, Delphi XE3 up 2.

 

I really don know if this is an error or the normal way showmodal works.

 

1. Application raize an error when a component is referenced in anonymous procedure on showmodal.

 

a. Add anotther uniForm to the project,

 

b. place an uniLabel or uniEdit

 

c. add the unit to the main form

 

a. place a uniButton and main form and add this code.

 

 

  UniForm1.showModal(
    procedure(res: integer)
    begin
       Uniform1.UniLabel1.Caption := 'This raize an error';
    end
  );
 

 

Best Reagards

testCase02042013.zip

Link to comment
Share on other sites

  • 10 months later...
×
×
  • Create New...