Backcolour in VB6
-
I'm trying to change the backcolour of a label on an inactive form. I would appreciate any help, this is my line of code: frmBinarytoDecimal(lblTopText).BackColor = vbBlue the frmBinarytoDecimal is my inactive form and the lblTopText is my label's name. Sas :)
-
I'm trying to change the backcolour of a label on an inactive form. I would appreciate any help, this is my line of code: frmBinarytoDecimal(lblTopText).BackColor = vbBlue the frmBinarytoDecimal is my inactive form and the lblTopText is my label's name. Sas :)
You need to use the
.
(i.e. - dot) operator to access the objects within a form. This will set the color:frmBinarytoDecimal.lblTopText.BackColor = vbBlue
Nick Parker
**The goal of Computer Science is to build something that will last at least until we've finished building it. - Unknown
**
-
You need to use the
.
(i.e. - dot) operator to access the objects within a form. This will set the color:frmBinarytoDecimal.lblTopText.BackColor = vbBlue
Nick Parker
**The goal of Computer Science is to build something that will last at least until we've finished building it. - Unknown
**