PDA

Click to See Complete Forum and Search --> : OCX Properties...


rjlohan
May 13th, 2002, 09:14 PM
I'm having troubles with some of my OCX properties - I can get most of them to maintain their value at runtime, but 2 properites relating to colour won't work. When I run a project using the control, the colour reverts to the default values, although when I return to design view, one of them says its colour is the changed colour, but it's obviously not showing the right colour... :(

Edneeis
May 13th, 2002, 11:03 PM
How about posting us some code and we'll see what we can do. Are you working with constituent controls or drawing your own? Are you making a backcolor?

rjlohan
May 14th, 2002, 03:58 AM
I got it working when I didn't use an 'intermediate' variable to store the colour value, but rather read it in and out directly from the label and shape involved.

I'm just making a circular button - nothin' too flash, but I wanted to change the colours.

It's working now, so I'm good. Cheers.
:)