Question

a quick (and probably easy) question. I am trying to write some code that changes the colour of a border of a control. Below is the operation I would like to perform on the control "Project_Phase" embeded in my form. Strangely, this code does nothing. Many thanks.

Me!Project_Phase.BorderColor = vbYellow
Me!Project_Phase.BorderWidth = 5
Était-ce utile?

La solution

Check that BorderStyle is not set to Transparent

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top