Results 1 to 3 of 3

Thread: OCX Properties...

  1. #1

    Thread Starter
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205

    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]
    -----------------------------------------

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    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?

  3. #3

    Thread Starter
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    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
  •  



Click Here to Expand Forum to Full Width