Results 1 to 7 of 7

Thread: about color dialog in property

Hybrid View

  1. #1

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,961

    about color dialog in property

    i'm build a property:
    Code:
    Public Property Get TransparentColor() As Long
        If blnDestroyed = True Then Col.Activate = False
        TransparentColor = lngTransparentColor
    End Property
    
    Public Property Let TransparentColor(ByVal vNewValue As Long)
        If blnDestroyed = True Then Exit Property
        lngTransparentColor = vNewValue
        PropertyChanged "TransparentColor"
    End Property
    my question is: can change "as long" to "commondialog.dialogcolor" or something like that?
    my objective is for apper a color dialog.
    thanks
    VB6 2D Sprite control

    To live is difficult, but we do it.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: about color dialog in property

    Try just: CommonDialog1.Color

  3. #3

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,961

    Re: about color dialog in property

    Quote Originally Posted by Hack
    Try just: CommonDialog1.Color
    give me an error...
    i know what i can do: i continue with same property, but i must associate with 1 property page...
    is the only way...
    did you sod that post about my animation property?
    thanks
    VB6 2D Sprite control

    To live is difficult, but we do it.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: about color dialog in property

    Quote Originally Posted by joaquim
    did you sod that post about my animation property?
    Yes, but never in my entire career have I ever had the need to do anything with animation.

  5. #5

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,961

    Re: about color dialog in property

    Quote Originally Posted by Hack
    Yes, but never in my entire career have I ever had the need to do anything with animation.
    i'm so sorry... that question, about animation, wasn't to do with these property question... i'm so sorry...
    (otherthing if my question in that post is confuse, please tell me)
    thanks for everything
    VB6 2D Sprite control

    To live is difficult, but we do it.

  6. #6

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,961

    Re: about color dialog in property

    in moment i did 1 thing:
    i create a property page....
    in these property page i must call color dialog...
    but i have 2 problems:
    1-the property page isn't hidden, how can i do it?
    2-when i change the property is like i click in custom property(the other group of property is showed)... can i resolve these problem?
    thanks
    VB6 2D Sprite control

    To live is difficult, but we do it.

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