Jump to content

background form


herculanojs

Recommended Posts

After the migration from version 1424 to 1466, many things occurred due to the change of the js.

Yet some things are still strange.

In some completely normal situations, for example, a form that is being called in showmoal is not displayed in the foreground when the form is called.

 

The form in the foreground example, is in showmodal, where the second form was called

 

See example:

  form: = CreateForm ('TfrmObservation', false);

       if form <> nil then

       begin

               form.bringTofront;

                 if form.ShowModal in [mrOK, mrYes] then

                 begin

 

                 end;

            end else

            form.Close;

       end;

 

What could be causing these strange behaviors?

post-1670-0-32395700-1530480053_thumb.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...