Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Automatic color of Color Selector
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Automatic color of Color Selector

 Post Reply Post Reply
Author
Message
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Topic: Automatic color of Color Selector
    Posted: 23 December 2008 at 7:37am
Hi
 
How can I set the automatic color of the inplace color selector (using VB6)?
 
 
Thanks
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2008 at 6:32am
Hi,
 
Seems that Automatic Color is set when propertyGridItemColor is created using assigned value.
 
    Dim ColorItem As PropertyGridItemColor
    Set ColorItem = Category.AddChildItem(PropertyItemColor, "ColorItem", RGB(255, 255, 255)) -> Automatic Color is set to white
    ColorItem.EditorStyle = ItemColorPopup
    ColorItem.Value = RGB(0, 0, 0) -> PropertyItem color is set to black
   
 
How to set Automatic Color to some other value after creation, I can't tell but maybe Oleg knows a way...
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2008 at 9:50am
SOLVED, SOLVED, SOLVED.
 
Hello Aaron
 
That is exactly what I searched for!
 
Thanks a lot and have snowy holidays...
 
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.