..
Introduction
A color picker is a useful graphical tool for testing hexadecimal color and / or RGB, which is useful to know the color code you wish to use or to find out what color that generates hexadecimal or RGB.
The graphics software usually have within them this utility but are often complicated to use (for those not accustomed to) or take up a lot of memory unnecessary, given that the ultimate goal would be to manage but to manage image color in a ' application.
In order to create our own personal utility, simple and fast, Visual Basic 6.
Structure of the form
Open up your copy of VB6 and create a new EXE and resize the form to make it small and neat as a function of the elements that will populate.
The form will look like in the under development:

The fourth label, however, does not contain text and will be assigned the property lblColore.
Make it square: its purpose is to show the color that we will create dynamically.
You then create three combo box and assign the Name cmbRosso, and cmbVerde cmbBlue.
Change the option in the Style Dropdown List, so as not to allow the end user can write inside.
Their purpose is to host the numerical values from 0 to 255, or the range of values that can take RGB.
You create three buttons and assign them the Name property cmdGenera, and cmdNuovo cmdChiudi.
You modify the properties Caprioni generation (launch the generation function of the RGB color data from the past three Combo) New (puliràil work done so far and would develop the software to perform a new operation) and Close (close application asking for confirmation).
You access to the code of the form through the form of menu list on the right of the VB6 IDE development.
Write the first in the first line:
Option Explicitin order to improve software performance, "forcing" yourself to always declare variables: healthy habit for a developer.
| |
MS Access (Advanced)
Learn how to create and manage databases quickly and easily. Starting from 29 €. |
| |
Visual Basic 6 (Course)
Make Desktop Applications with VB6. From 39 €. |