shawdown Posted August 16, 2019 Share Posted August 16, 2019 Is it possible to change the default text of a ScreenMask? So whenever the "Message" field is blank it displays the text I set. I need to display a ScreenMask the message is in my language. Link to comment Share on other sites More sharing options...
shawdown Posted August 19, 2019 Author Share Posted August 19, 2019 any suggestion? Link to comment Share on other sites More sharing options...
Sherzod Posted August 19, 2019 Share Posted August 19, 2019 On 8/16/2019 at 8:10 PM, shawdown said: So whenever the "Message" field is blank it displays the text I set. Hello, Can you make a simple testcase for this? Link to comment Share on other sites More sharing options...
shawdown Posted August 19, 2019 Author Share Posted August 19, 2019 I see no need for an example because just check ScreenMask option of any object and activate the mask and see the message. But anyway follow the example. ScreenMask.rar Link to comment Share on other sites More sharing options...
Freeman35 Posted August 19, 2019 Share Posted August 19, 2019 LoadMask.Message = '<font size="3"><p> Bilgiler yükleniyor..., </p>' you can use html tags. @Sherzod ninja turtle still waiting more than mounth. Link to comment Share on other sites More sharing options...
shawdown Posted August 19, 2019 Author Share Posted August 19, 2019 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 More sharing options...
Sherzod Posted August 19, 2019 Share Posted August 19, 2019 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 More sharing options...
picyka Posted August 19, 2019 Share Posted August 19, 2019 A good property in ServerModule would be good for example, TextDefaultMask, if it has value there always takes it from there maybe for some controls. 1 Link to comment Share on other sites More sharing options...
Sherzod Posted August 19, 2019 Share Posted August 19, 2019 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 More sharing options...
shawdown Posted August 19, 2019 Author Share Posted August 19, 2019 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 More sharing options...
PS1 Posted October 3, 2023 Share Posted October 3, 2023 Any update on this ? I need a global option for changing text in the mask too. Link to comment Share on other sites More sharing options...
irigsoft Posted October 3, 2023 Share Posted October 3, 2023 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 More sharing options...
Sherzod Posted October 4, 2023 Share Posted October 4, 2023 On 8/19/2019 at 10:38 PM, shawdown said: Today if you don't have "ScreenMask.Message" set then the message "Loading ..." On 10/3/2023 at 5:20 PM, PS1 said: I need a global option for changing text in the mask too. We'll fix it. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now