VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



LaVolpe Color Chooser

by LaVolpe (66 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB Script
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (48 Votes)

Single class module, plug & play. Maybe the last color selector you will ever use? Lots of options & will list most of them here: 1) 3 palettes to choose from, 2) palette tabs can be disabled, 3) grab color from anywhere on screen, 4) fail-safe mode will display std color dialog if routines fail, 5) mouse wheel support, 6) prevent non-palette selections, 7) auto-convert negative sys colors to positive values, 8)add custom colors & personal colors to the default palette or replace completely, 9) easy window placement, 10) even more options. Heavily documented, jump to end of the module for a detailed description of options & their settings. 22Feb06 - Converted to a stand-alone, single class. 26Feb06: Keybd navigation. Now movable. 30Mar06: Reworked to make Win9x-safe & make more MDI-friendly. 31Mar06: Changed memory APIs used to help prevent XP DEP warnings & addressed the error messages being reported that are not errors rather a result of VB IDE settings. 4 Apr. Prev repost broke ability to select listbox items; fixed. 10 Nov 06: listboxes didn't scroll down w/mousewheel, played with XP Manifests to replicate reported issues w/some luck. 11Nov06: running out of bugs... patch minor keybd navigation issues, add layered window support, patch MDI parent losing active titlebar when common color dialog closes. See change history in module if interested.

Side Effects
Uses Replace$() should your VB version not support that function.

Rate LaVolpe Color Chooser

Upload

Download this snippet    Add to My Saved Code

LaVolpe Color Chooser Comments

No comments have been posted about LaVolpe Color Chooser. Why not be the first to post a comment about LaVolpe Color Chooser.

Post your comment

Subject:
Message:
0/1000 characters