|
-
Aug 9th, 2008, 02:48 PM
#1
Thread Starter
PowerPoster
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
-
Aug 12th, 2008, 07:51 AM
#2
Re: about color dialog in property
Try just: CommonDialog1.Color
-
Aug 12th, 2008, 09:55 AM
#3
Thread Starter
PowerPoster
Re: about color dialog in property
 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
-
Aug 12th, 2008, 01:26 PM
#4
Re: about color dialog in property
 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.
-
Aug 12th, 2008, 02:45 PM
#5
Thread Starter
PowerPoster
Re: about color dialog in property
 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
-
Oct 20th, 2008, 07:03 AM
#6
Thread Starter
PowerPoster
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
-
Nov 9th, 2008, 04:43 AM
#7
Thread Starter
PowerPoster
Re: about color dialog in property
Code:
Public Property Get NewColor() As OLE_COLOR
If blnDestroyed = True Then Exit Property
NewColor = lngNewColor
End Property
Public Property Let NewColor(ByVal vNewValue As OLE_COLOR)
If blnDestroyed = True Then Exit Property
lngNewColor = vNewValue
Call ShowImage
PropertyChanged "NewColor"
End Property
what is OLE_COLOR?
can i change it for new diferent dialog(like color dialog)?
thanks
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
|