Can not change Image or Label with code #19
Answered
by
harborsiem
rulai-yinqiang
asked this question in
Q&A
-
The code not work
|
Beta Was this translation helpful? Give feedback.
Answered by
harborsiem
Apr 25, 2024
Replies: 1 comment
-
You have to set SmallImage and Label in the Load event of the Form or later on. Then your code will work. The Ribbon Framework and also the Image converter have to be initialized first before one can set these values. This is done before the Load event fires. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rulai-yinqiang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to set SmallImage and Label in the Load event of the Form or later on. Then your code will work.
The Ribbon Framework and also the Image converter have to be initialized first before one can set these values. This is done before the Load event fires.