Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB programing code

Status
Not open for further replies.

blasterm

Programmer
Aug 9, 2004
2
US
I have been asked to write a basic program for a robic positioner using Visual Basic 6 my question is how can I
control the color of a command botton on another form page
the colors are use to show the operators of this machine
witch operations they have already used but when they go to the main menu I need to reset all botton colors back to default setting can any body please help

Thanks Blasterm
 
You'll probably get a better response by posting this on the Visual Basic Forum.

There's always a better way. The fun is trying to find it!
 
"my question is how can I
control the color of a command botton on another form page"

you can control the color of a button using css.
[tt]
<input type="submit" style="color: #00ff00;" name="something">[/tt]

As for scripting stuff, you'll probably get more help in the various scripting forums, but you will need to explain the problem in a bit more detail.

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top