Skip to Content

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

Event for updating caption of button

I have created a form using screen painter.I have added some textboxes and buttons as per my requirement.I want to change the caption of btnOK from OK to Update some text is typed in textbox.I tried key down event but it fired for each and every character and the speed was decremented.Which is other event which can trap the updation of form ?

Former Member
Former Member replied


You can do it automatically with the form's AutoManaged property set to True and the Item's AffectFormMode property set to True also, or if your really what to do it manually, just catch the item's LostFocus or Validate events and change the form mode to Update.


VĂ­tor Vieira

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question