KB-13317: Changing the picture on a button at runtime.

Question:

At runtime, how can I change the picture loaded in a button’s Picture property?

Solution:

To do so, use LoadPicture method.

Example:

Screen.Item("CommandButton3").Picture = LoadPicture ("D:\TEMPPuc1.bmp")
Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Thoughts on “KB-13317: Changing the picture on a button at runtime.

  1. Dear Pratik,
    How are you trying to use the method?
    Is it giving any error message?
    Please send me your script and E3 log file for analysis.

Leave a Reply

Your email address will not be published.Required fields are marked *