Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Faking modal Form
#1
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
Reply
#2
(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
Reply
#3
Ok, thanks. There was a lot of good examples here!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)