Jump to content
atlandev.mq

Issue with 'Application.Showmodal ?'

Recommended Posts

Hello,

I  have an issue with showmodal/hidemodal.

When I click on the button of my modal form that should hide the form, the OpaqueMask disappears but not my form.

I uninstalled sms, reinstalled then tested the demo 'Modal Dialog.sproj' -> same issue.

On firefox(standart/dev) chrome and ie11.

sms version 2.1.2.3592

T.

Share this post


Link to post
Share on other sites

Here is a quick fix for this problem.

 

Edit file "c:\ProgramData\Optimale Systemer AS\Smart Mobile Studio\RTL\SmartCL\SmartCL.Components.pas".

 

FInd the method TW3Component.UnRegisterChild.

 

Replace the call to aChild.RemoveFrom (last non-'end' line in the method) with:

 

    if (aChild.Owner) then
      aChild.RemoveFrom;
 
We'll fix it in a prettier way in the next release but this should work as a quick fix and should not produce and side effects.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×