Jump to content

UniSpecial Component


Hayri ASLAN

Recommended Posts


try

    ExecuteThis;

except

    HideWaitMe;

end;

 


Already tested with the treatment you did, but if an error occurs in the framework or in the process which generates a message, the waitme gets stuck.

Ideally something like you did with noty.

 

UniSession.AddJS('$.noty.closeAll()');

 

 


Já havia testado com o tratamento que você fez, contudo se ocorrer algum erro no framework ou dentro do processo o qual gere uma mensagem, o waitme fica preso.

O ideal seria algo assim como você fez com o noty.

UniSession.AddJS('$.noty.closeAll()');

Link to comment
Share on other sites

  • 3 weeks later...
There is a bug with the UniSpWaitMe component in the hide method. See the described code, even shooting the hide method, there is still the ShowWait until the end of the process.

They were played 2x hide method and still keep the ShowWait, and got caught.

 

                          UniSpWaitMe1.HideWaitMe;

                          if datamodel.link.Util.ExecutaMetodo(fr,'prepara') then

                          begin

                               Fr.Parent := tb;

                               tb.Visible := True;

                               UniPageControl1.ActivePage := tb;

                          end else

                          begin

                               fr.Free;

                               tb.Free;

                               tb := nil;

                               UniSpWaitMe1.HideWaitMe;

                          end;

Link to comment
Share on other sites

İ am at the hospital for 23days

İs it reasonable ??????

 

Dear Brother Hayri,

 

so sorry to hear this, may you have a speedy recovery, please ignore my earlier post as i had no idea

 

may Allahthallah give you good health my brother

Link to comment
Share on other sites

Hi Hayri
 
Regarding the component UniSpSweetAlert, it would be possible for you to add properties to change the color of the cancel button, as is the confirm button.
Also a property to be able to change the color of the warning text. Is this with a very opaque color, and situations have to draw more user attention.

 

very tanks

Link to comment
Share on other sites

Hi 

herculanojs

 

thanks to farshad solved.

 

at first in the frame put a master panel. All components must be in the panel.

like that 

 

af483af1d1d744089d6b7258d5ee5e08.png

 

then put this to ClientEvents-> beforerender of Master panel.

 

1b500acd3f774fe2acf672a7ab053762.png

ajaxRequest(sender,"OnReady",[]);

and initialize with this ajax event. it will work.

 

5d3b7d9f26ec4333a26353f95523dcd4.png

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...