Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Number conversion Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
GadgetGuy
Super User
Super User
Avatar

Joined: June 01 2008
Location: United States
Online Status: Offline
Posts: 942
Posted: January 10 2009 at 10:39 | IP Logged Quote GadgetGuy

Is there any way to use hex values in ph function data
elements?

When setting colors for Control Center objects it sure
would be nice to enter "FF0000" instead of "268369920"
for the color RED. The latter is not exactly user
friendly!

__________________
Ken B - Live every day like it's your last. Eventually, you'll get it right!
Back to Top View GadgetGuy's Profile Search for other posts by GadgetGuy
 
nadler
Super User
Super User


Joined: February 25 2006
Location: United States
Online Status: Offline
Posts: 354
Posted: January 10 2009 at 11:48 | IP Logged Quote nadler

You can use

rgb(255, 255, 0 )

instead.

The above is red or yellow I forget which.

Back to Top View nadler's Profile Search for other posts by nadler
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: January 10 2009 at 11:49 | IP Logged Quote TonyNo

I use the rgb() function, but I think there is a way to use hex. I can't find it now.

rgb( 200, 0, 0 )
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
GadgetGuy
Super User
Super User
Avatar

Joined: June 01 2008
Location: United States
Online Status: Offline
Posts: 942
Posted: January 10 2009 at 15:07 | IP Logged Quote GadgetGuy

Roger That!

Thanks. I see it now in the function list.

Much friendlier!!

__________________
Ken B - Live every day like it's your last. Eventually, you'll get it right!
Back to Top View GadgetGuy's Profile Search for other posts by GadgetGuy
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: January 10 2009 at 18:15 | IP Logged Quote TonyNo

Ah ha!

ph_hextonum( "FF0000" )

Searching Help for "hex" did not find that.

Edited by TonyNo - January 10 2009 at 18:16
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
GadgetGuy
Super User
Super User
Avatar

Joined: June 01 2008
Location: United States
Online Status: Offline
Posts: 942
Posted: January 10 2009 at 19:34 | IP Logged Quote GadgetGuy

Good for you!

Sometimes I just browse the Function Index list in the
Help window to see if I can see anything that I might
want to learn more about, or use later.

I've started my own notebook of useful functions doco so
I can find them later!

This one will get added.

__________________
Ken B - Live every day like it's your last. Eventually, you'll get it right!
Back to Top View GadgetGuy's Profile Search for other posts by GadgetGuy
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
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