****
GOOD MORNING GUYS ,, DOES ANYONE KNOWS HOW TO HIDE THE BOX APPEARING IN THE PICTUREBOX IN VB ? MY PROBLEM IS ONCE I PUT BACKGROUND IMAGE IN THE FORM TOGETHER WITH THE PICTURE INSIDE THE PICTUREBOX .. AND WHEN I RUN THE PROGRAM THERE'S A BOX APPEARING BEHIND THE PICTURE , I AM MAKING A GAME SIR/MAAM AND I AM USING RANDOM FOR POSITION PURPOSES BUT THE PROBLEM IS IT SEEMS TO UGLY THAT THERE'S A BOX APPEARING BEHIND ON MY PICTUREBOX .. CAN SOMEONE HELP ME WITH THIS PROBLEM ??? HOW TO HIDE THIS ??? ****
xtianpark
0
Newbie Poster
Recommended Answers
Jump to PostThere should not be a box behide the picture box. Are you sure that you do not have a image smaller than the size of the picturebox and that the PictureBox.SizeMode is not set to centerimage? Try setting the size mode to "Zoom" and see if the box goes away.
Jump to PostCorrection. I should have suggested "StrechImage" instead of "Zoom".
All 6 Replies
TnTinMN
418
Practically a Master Poster
xtianpark
0
Newbie Poster
TnTinMN
418
Practically a Master Poster
Gé48
1
Newbie Poster
xtianpark
0
Newbie Poster
TnTinMN
418
Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.