|
-
Jul 15th, 2000, 10:02 PM
#1
Is there a CommandButton which has the backcolor changable?
The one with VB6 cannot change backcolor.
[I have used the button in Msforms2.OCX which does change backcolor, but the Deployment wizard doesnt put the required FM20.DLL into the shipping CAB (or doesnt install it on target machine.), hence the program crashes. I have to install/remove MSOFFICE to get the DLL onto the target machine. messy!
Also related Q:
When I have an object on a form (button,etc) how can I tell which OCX it comes from? There doesnt seem to be any way to tell this, except reading through the .frm files headers.
-
Jul 15th, 2000, 10:24 PM
#2
(1) You can change the backcolor of a standard VB command button if you first set its Style property to Graphical.
(2) I'm not sure what file the intrinsic VB controls are in, but you can tell where "ActiveX" controls come from (such as the Common Dialog, Masked Edit Box, Tree View, etc.) by going to Project -> Components, and highlighting the control in question. The OCX file should display at the bottom of that dialog box. (Note: The "Windows Common Controls" have several controls in one OCX - this one OCX contains the TreeView, ListView, ImageList, ToolBar, etc.))
"It's cold gin time again ..."
Check out my website here.
-
Jul 15th, 2000, 10:24 PM
#3
Fanatic Member
You can change the back colour! but you also have to change the style to graphical or nothing happens
Cheers
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
Jul 15th, 2000, 10:25 PM
#4
Fanatic Member
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
Jul 16th, 2000, 12:58 AM
#5
Fanatic Member
You can also have a picture as the background..change the style of the command to graphical and go down in the properties list to "picture" and select something....
=p sorry i was bored so i thought i would add something.
Laterz,
D!m
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
|