Announcements
good morning, I want to leave this message appearing on the screen when the screen starts, but I don't know how to do it...
it's this message in a label, with a "close" button, when you press the button the message disappears. Any idea?
Hi @Joaoandrebs,
you can set the variable you use for the message's visible property to true in the 'OnStart' property of the application. This will make the message appear when the application starts. Or you can apply the same idea to the 'OnVisible' property of the screen you want it to appear on. this will make the message appear when you navigate to that screen.
------------------------------------------------------------------------------------------------------------------------------Please click "Accept as Solution" if this post answered your question so that it is helpful for people having similar questions. If you found this post helpful smack that Thumbs up button! Thanks!
Hi,
You can put the label visibility to a variable.
So On Start of the screen , set the variable to true.
When user click on the cross button , set the variable to false so that it is hidden from screen.
Hope I'm clear
Hola...
Puedes crear un contenedor, luego dentro de él un label con el fondo de color que deseas, y agregar un botón de tipo icono encima. La estructura podría ser así:
Actualizar las siguientes propiedades:
App.onstart: Set(visibleMsg, true) //al iniciarse la aplicación defines que la variable está en true.
Container1.visible: visibleMsg //es decir la visibilidad del contenedor estará definido por una variable
IcoCancel.onselect: Set(visibleMsg,false) //acá estás indicando que cuando se toca el botón se ocultará el mensaje
Hi @Joaoandrebs
just use variable to control the message visibility.
add below code in screen.OnVisible
UpdateContext({locShowMessage:true})
and set locShowMessage to Label and Close Icon’s Visible property
Then set Close Icon’s OnSelect as below to close the message
UpdateContext({locShowMessage:false})
Hope this help
Nelson
Hi @Joaoandrebs ,
Here you go -
Step 1 - On 'OnVisible' property of screen, set this variable
UpdateContext({loc_ShowMessage:true})
Step 2 - Copy Variable name and set it to the 'Visible' property of message box
Step 3 - On 'Close' icon set this formula to hide the message box
UpdateContext({loc_ShowMessage:false})
If you want this to be happen only once, use Set variable on App OnStart
Let me know if this helps and if it is mark this as a solution.
Thanks 😀
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 401 Most Valuable Professional
11manish 201 Super User 2026 Season 2
MS.Ragavendar 128 Super User 2026 Season 2