Faking modal Form

<< Click to Display Table of Contents >>

Navigation:  Forum >

Faking modal Form

Forum link

 


 

06-14-2023, 01:22 PM:

 

Hello!

 

I'm converting a VCL application and I'm really missing the ShowModal function in IntraWeb :-)

 

is there an example how I can "fake" this?

 

What I want to do is this;

 

From Form1 I want to create Form2.

 

Then I want to show Form2.

 

Depending on what button I press in From2 I want to set a return value and close Form2 making Form1 reappear.

 

Best regards, Mikael

 


 

06-14-2023, 03:36 PM:

 

(06-14-2023, 01:22 PM)Lenfors Wrote: [ -> ]Hello!

 

I'm converting a VCL application and I'm really missing the ShowModal function in IntraWeb :-)

 

is there an example how I can "fake" this?

 

What I want to do is this;

 

From Form1 I want to create Form2.

 

Then I want to show Form2.

 

Depending on what button I press in From2 I want to set a return value and close Form2 making Form1 reappear.

 

Best regards, Mikael

 

See this example from intraweb samples:

 

https://github.com/Atozed/IntraWeb/tree/...odalWindow

 


 

06-20-2023, 10:55 AM:

 

Ok, thanks. There was a lot of good examples here!