OLETools 5.0
Tech Support Question
- Q.
I am having a problem with MhImage. When I try to place a button over the Image,
it disappears when I test-run the program. I went to the MhImage demo and placed a
button over the Image window and it remained visible at run time. Is there some
setting I'm overlooking?
- A.
Unlike the VB picture box, MhImage is not a container control. It does not support
child controls, so it is being ZOrdered on top of the button at runtime. To stop this,
put the following line in your form load:
Command1.ZOrder 0
This puts the button at the top of the ZOrder.
[TECH SUPPORT TOC]
[HOME]
[TABLE OF CONTENTS]
[SEARCH]