Home > Back-end >  Questions about BCB button
Questions about BCB button

Time:10-02

I am using SpeedButton, buttons with images, want to make it to the click to display a 2 d image, then another 3 d image, click the show is in the two images (2 d and 3 d is a insets) switch between, also control the TChart graphics display, that is to say, click on the display image corresponding to the graphics TChart, specific code how to weave? And does anyone familiar with the TChart ah? Have a question, thank you!

CodePudding user response:

In the Onclick event handling,

CodePudding user response:

Say specific point is good, I want to save the two figure, how to input in the Onclick another figure? Can only enter a figure in the Glyph, whether in the Onclick enter two figure, specific how to input?

CodePudding user response:

reference 1st floor lhylhy response:
in the Onclick event processing,


Say specific point is good, I want to save the two figure, how to input in the Onclick another figure? Can only enter a figure in the Glyph, whether in the Onclick enter two figure, specific how to input?

CodePudding user response:

reference a6245909 reply: 3/f
Quote: refer to 1st floor lhylhy response:

In the Onclick event processing,


Say specific point is good, I want to save the two figure, how to input in the Onclick another figure? Can only enter a figure in the Glyph, whether in the Onclick enter two figure, specific how to input?

In the Onclick Glyph another figure have replaced the old figure out,

CodePudding user response:

Set a global or static bool variables, using the variable load control what kind of images, such as I when to false load the picture 1, the bool variable to true, then when you click on the enter into the true, load the picture 2 at this time, again the bool variable into false...
  • Related