How to use chooseColor 
Author Message
 How to use chooseColor

I am fairly new to Perl-Tk. I really do not have very much experience
in Perl. I am needing help in getting the chooseColor method to work
properly. I've looked at the man page and was not able to get anything
working.

Does anyone have a sample piece of code that I can look at to get this
method to work properly? Any help would be appreciated.

Thanks,
Mike



Mon, 19 Aug 2002 03:00:00 GMT  
 How to use chooseColor
Does anyone have any sample code to show how to use the chooseColor
method? I am new to Perl and Perl-Tk, but not new to software
development. I have looked at the man page and could not get
everything working correctly.

I am working with Perl version 5.004_04 built for sun4-solaris. The Tk
version is 402.003.

Any help would be appreciated.

Thanks,
Mike



Mon, 19 Aug 2002 03:00:00 GMT  
 How to use chooseColor

Quote:

> Does anyone have any sample code to show how to use the chooseColor
> method? I am new to Perl and Perl-Tk, but not new to software
> development. I have looked at the man page and could not get
> everything working correctly.

> I am working with Perl version 5.004_04 built for sun4-solaris. The Tk
> version is 402.003.

I don't think there was a chooseColor method in Tk 402 (but only a
Tk::ColorEditor dialog). Upgrade to Tk 800.

Regards,
        Slaven

--
use Tk;$c=tkinit->Canvas(-he,20)->grid;$x=5;map{s!\n!!g;map{create$c 'line'=>
map{$a=-43+ord;($x+($a>>3)*2=>5+($a&7)*2)}split''}split"!";$x+=12}split/_/=>'K
PI1_+09IPK_K;-OA1_+K!;A__1;Q!7G_1+QK_3CLPI90,_+K!;A_+1!KQ!.N_K+1Q!.F_1+KN.Q__1+
KN._K+1Q!.F_1+KN.Q_+1Q__+1!KQ!.N_1;Q!7G_K3,09Q_+1!K.Q_K+1Q!.F_1+KN.Q_';MainLoop



Mon, 19 Aug 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. chooseColor not working properly

2. using IPC::Shareable and using Tie::IxHash for the same hash

3. What port number is used when using POST

4. using a perl script to open a word document using WIN32::OLE

5. Using the hash DB_File uses, after untie it??

6. difference between using map {} or using CGI::

7. Using Image::Size.pm on system where I can't install modules using make

8. Using OLE to get Excel VBA using the clipboard

9. Using Date::Manip - having trouble using output of DateCalc()

10. Bug using 'geometry' when Tk uses the xtem window

11. Using STDIN in select loop

12. Seeking advice on semantics (pros / cons and best ways of) using constants across modules

 

 
Powered by phpBB® Forum Software