![]() |
CreateColorsGallery - CheckedItem |
Post Reply ![]() |
Author | |
indices ![]() Groupie ![]() Joined: 21 September 2007 Location: India Status: Offline Points: 44 |
![]() ![]() ![]() ![]() ![]() Posted: 26 September 2007 at 8:24pm |
In the VB6 RibbonSample project. There is a routine which uses CreateColorsGallery sub to create a custom color picker. Items in this gallery do not display a checked state.
Set Gallery = Control
SelectedStyle = Gallery.SelectedItem.Id Set Gallery.CheckedItem = Gallery.SelectedItem This does not work since the next time the color picker drops down the item does not appear depressed. Is this a known issue using a gallery?
How can I workaround this?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
CheckedItem is ID of item to check.
SelectedItem returns index of item.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
indices ![]() Groupie ![]() Joined: 21 September 2007 Location: India Status: Offline Points: 44 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
Thank you for responding.
Even if I assign the ID to the CheckedItem it does not work for this example.
Any other ideas?
|
|
![]() |
|
indices ![]() Groupie ![]() Joined: 21 September 2007 Location: India Status: Offline Points: 44 |
![]() ![]() ![]() ![]() ![]() |
I figured it out. Thanks.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |