Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to dynamically change Text in a Button

I am trying to learn DS.  I want to know how I would change the text on a Button to the current date.  I searched and could not find any examples.  Can someone tell me how I would do this?

Thanks.

Former Member
Former Member replied

Hi Sandy

If you want to set the text in the button in the initial. you can write the code in the event "On startup".

How to find the startup.

1.Click the Application layer in the outline.

2. In the properties, you can find "On startup"  in  the "Event" section.

If you want to write the code which is interactive.

Write the code in the "On click" which in the each component' properties.

Hope this help.

Willy

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question