Function JBColorDialog$() v.1.3.0

Programming Tools, Tips, and Tutorials.
Posts: 2
Joined: Thu Jul 03, 2014 8:10 am

Function JBColorDialog$() v.1.3.0

Post by joan-74 »


I have programmed a ColorDialog$() function for JB users.
Features : wrote: ==========
- The JBColorDialog$ function tries to reproduce the ColorDialog function, which not exist in JustBasic.
- It is based on WindowsXP ColorDialog() version.
- No known bug with this version.
- By default, the language is in English, but you can make your own language by modify 'language.txt' file.

3 files are will be automatically created during the 1st execution of JBColorDialog$().
- matrix.bmp : The matrix colors (background)
- matrix-cursor.bmp : The cursor of the matrix (Sprite)
- language.txt : The file containing the language

How use JBColorDialog$() ? :
'Initialization of the variables color$ and chosen$ (=> OPTIONAL)
color$ = "0 0 0" ' or another value rgb that you wish to send to the function.
chosen$ = ""

'… [your program here]…

chosen$ = JBColorDialog$(color$, byref chosen$)

'… [continuation of your program here]…

'… [SUBS and FUNCTIONS of JBColorDialog$() here]…

You do not have the required permissions to view the files attached to this post.