Jump to content

ScreenMask Default Message


shawdown

Recommended Posts

Actually I need that when the Message property is not set displays a default message.

Loading is an English word that corresponds to "Carregando..." in my language.

So I would like that whenever the Message Property is not set it will display "Carregando..."

Link to comment
Share on other sites

9 minutes ago, Freeman35 said:

@Sherzod  ninja turtle still waiting more than mounth.

I'm sorry for the late. 

 

5 minutes ago, shawdown said:

Loading is an English word that corresponds to "Carregando..." in my language.

I will check. 

Link to comment
Share on other sites

1 hour ago, shawdown said:

I see no need for an example because just check ScreenMask option of any object and activate the mask and see the message.

For example:

UniButton ->

   ScreenMask.Enabled = True

   ScreenMask.Message = Your message

I do not see a problem.

Link to comment
Share on other sites

I know this way works perfectly but for this on all objects I will have to add a message according to my language.

What if my software has other languages?

I would like something that had an inheritance.

Example.
When creating the user session I define the default message if I don't have the "ScreenMask.Message" property set.

Today if you don't have "ScreenMask.Message" set then the message "Loading ..."


Sorry if I'm not being clear.
Google Translator.

Link to comment
Share on other sites

  • 4 years later...
1 hour ago, PS1 said:

Any update on this ?

I need a global option for changing text in the mask too.

Hello, try with this CSS settings:

.x-mask-msg, .x-mask-msg-inner {
  text-align: -webkit-center;
  white-space: break-spaces;
  color: #a85432;
  line-height: 2;
  width: 200px;
  height: 200px;
  font-size: 20px;!important;
}
 

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