Jump to content

UniForm Enabled = False


andyhill

Recommended Posts

I have two UniForms (fMain / fNewAccount): fMain via a ButtonClick shows fNewAccount.ShowModal which via a ButtonClick sends an email (this takes about 10 seconds) then fNewAccount closes and returns to fMain.

 

I want to Disable the fNewAccount form preventing closing (in Delphi this disables all components on the form preventing the [X] and Cancel button from working) till my email has been sent. 

Link to comment
Share on other sites

Hi,

 

... shows fNewAccount.ShowModal which via a ButtonClick sends an email (this takes about 10 seconds) then fNewAccount closes and returns to fMain.

 

I want to Disable the fNewAccount form preventing closing (in Delphi this disables all components on the form preventing the [X] and Cancel button from working) till my email has been sent. 

 

Can you use fNewAccount -> Button -> ScreenMask property for this ?!

 

Best regards,

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...