please tell to how can design new command buttons in visual basic. like XP buttons, ms office buttons new gui buttons etc. and how can change new background color not default. like new please reply
visual basic
Collapse
X
-
If you want to change the form's background color, right click the form, click properties, then in the properties click BackColor and choose the color of your choice.Originally posted by jorawar...how can change new background color not default...
If you want to change the form's background color in your code, add
Me.BackColor = RGB(0,0,0)
If you know what you are writing in the (0,0,0) part. But if you have do it the easy way use
Me.BackColor = QBColor(Color)
The Color argument has these settings:
0 Black
1 Blue
2 Green
3 Cyan
4 Red
5 Magenta
6 Yellow
7 White
8 Gray
9 Light blue
10 Light green
11 Light cyan
12 Light red
13 Light magenta
14 Light yellow
15 Bright white
I hope that would answer your question.Comment
-
copy paste that code into notepad and save with formatCode:<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="*" name="Microsoft.Winweb.XPLook.exe" type="win32" /> <description>Scriptet.com</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency> </assembly>
<yourapp>.exe.m anifest
and put into the directory same as yourapp.exeComment
-
Comment