Discussion:
VB6 User Control (Label & Image on CommandButton)
(too old to reply)
DaveS
2006-06-16 18:43:02 UTC
Permalink
Hi,

I'm buidling a User Control in VB6. I need to create a command button that
has an image on the left side of the button, and some text will be to the
right of the image.

The problem is that the CommandButton hides the Image and Textbox controls
so they are not visible. Clicking "Bring to Front" doesn't have any affect.
Is there some trick to make the Image and Textbox controls visible on a
CommandButton?
--
TIA,


DaveS
Bob O`Bob
2006-06-16 19:05:04 UTC
Permalink
Post by DaveS
Hi,
I'm buidling a User Control in VB6. I need to create a command button that
has an image on the left side of the button, and some text will be to the
right of the image.
The problem is that the CommandButton hides the Image and Textbox controls
so they are not visible. Clicking "Bring to Front" doesn't have any affect.
Is there some trick to make the Image and Textbox controls visible on a
CommandButton?
If you're building your own UserControl, why include a CommandButton at all?
DaveS
2006-06-16 19:15:02 UTC
Permalink
The VB6 CommandButton doesn't have the ability to have an image on the left
hand side. I need a button with an image on the left hand side and text on
the right hand side.

Would it be better to use an image of a text button, and place the image and
label on top of that? Or any other suggestions on how to do this?
--
TIA,


DaveS
Post by Bob O`Bob
Post by DaveS
Hi,
I'm buidling a User Control in VB6. I need to create a command button that
has an image on the left side of the button, and some text will be to the
right of the image.
The problem is that the CommandButton hides the Image and Textbox controls
so they are not visible. Clicking "Bring to Front" doesn't have any affect.
Is there some trick to make the Image and Textbox controls visible on a
CommandButton?
If you're building your own UserControl, why include a CommandButton at all?
Ken Halter
2006-06-16 20:28:48 UTC
Permalink
Post by DaveS
The VB6 CommandButton doesn't have the ability to have an image on the left
hand side. I need a button with an image on the left hand side and text on
the right hand side.
Answered in another group
--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
In Loving Memory - http://www.vbsight.com/Remembrance.htm
Loading...