|
-
May 19th, 2014, 04:42 PM
#11
New Member
Re: CommonControls (Replacement of the MS common controls)
Question regarding the OCX.... I've tried to use the new Command Button .... it does not have a Style property that matches the old VB one .. (e.g., standard or graphical) that allows setting the background color of the command button. My project sets the background color when the control gets focus ...but with this new one it does not seem to function. I've fiddled with what seems like possible properties that might be related to this but nothing seems to get this to work for me. Is there is a way? Also, I can't seem to get the 'image and caption' option to work. If I put an image on the button ... it only shows the image and not the caption. Wont' caption unless the image is (none).
What would REALLY be nice is two properties that permit setting of a 'got focus backcolor' and a 'lost focus backcolor' so it did it automatically so you don't need to use a lot of got_focus and lost_focus events to deal with it.
Last edited by c141heaven; May 19th, 2014 at 04:54 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|