get color from the color common dialog? |
Post Reply |
Author | ||
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
Posted: 07 January 2010 at 11:13pm |
|
I recently looked into using the common dialog control included with the suite of controls.
I can make the color dialog appear, but I don't know how to implement it further. Can anyone post the code or sample on how to use the common dialog for color more in detail? Thanks and regards in advance! |
||
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
||
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
|
Nevermind folks, I was able to come up with the solution on my own.
Here's an example of how I used the common dialog. First, I named the common dialog "DLG" lets say we want to change the back color of the form. We add a command button, name it "btnColor" then under the click event of that button place
Then the next line:
I assume none of you all really know the easy way around this since there wasn't no responses but with over 10 views. But, that's what we are here for right? Learn something new everyday! |
||
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
||
chrisABC
Senior Member Joined: 05 June 2008 Status: Offline Points: 258 |
Post Options
Thanks(0)
|
|
It would be good if CJ folk took all these messages and added the information to the Help files (where it should have been all the time). |
||
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
||
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
|
Most definitely.
I have SEVERAL different posts that have many views with no responses as well. I guess thats how it works though. *Sighs* |
||
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
||
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 |