Page 1 of 1

Posted: Mon Jan 14, 2002 8:26 pm
by BackupUser
Restored from previous forum. Originally posted by cor.

A nice feature in the PB editor would be.

A colorcode picker which can be used for the colour commands

Registered user of PB

C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com

Posted: Mon Jan 14, 2002 8:44 pm
by BackupUser
Restored from previous forum. Originally posted by PB.
A nice feature in the PB editor would be.
A colorcode picker which can be used for the colour commands
You can easily make your own from the example file called "Requester.pb".
In fact, I'll do one for you:

Code: Select all

Colour = ColorRequester()
If Colour > -1
  MessageRequester("Info", "Red: "+Str(Red(Colour))+", Green: "+Str(Green(Colour))+", Blue: "+Str(Blue(Colour)), 0)
EndIf

PB - Registered PureBasic Coder

Posted: Mon Jan 14, 2002 8:50 pm
by BackupUser
Restored from previous forum. Originally posted by cor.

Thanks for the help, but I didn't need the code for in a program.

Only the colorcodes needed for programming.

I just found that PB has one.

File->Preferences-Coloring

Click on the ....

Registered user of PB

C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com