|
-
May 13th, 2002, 09:14 PM
#1
Thread Starter
PowerPoster
OCX Properties...
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...
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
-
May 13th, 2002, 11:03 PM
#2
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?
-
May 14th, 2002, 03:58 AM
#3
Thread Starter
PowerPoster
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.
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|