Re: Newbie Question

From: Dmitry Karasik <dmitry_at_karasik.eu.org>
Date: Sun, 25 Jul 2004 00:31:06 +0200
To: prima_at_prima.eu.org

Hi Jens!

On 22 Jul 04 at 20:57, "Jens" (Jens Gassmann) wrote:

 Jens> Hi, i work only three days, but most looks fine, now i have a simple
 Jens> question.

 Jens> How to change preferences ( backColor, font, and more) after i
 Jens> insert the edit-wigdet?

 Jens> I try this ...

 Jens> $self->Edit2->( backColor => 0x99000 )

Try $self->Edit2->backColor( 0x99000) instead.

 Jens> and can i change the background-color of single lines?

No, only the foreground color is possible to change. You can
overload the ::on_paint method though to achieve this, although
it wouldn't be easy. I've seen that Teo Sankaro did a similar
thing for a custom editor.

 Jens> Maybe someone write a perlide with Prima too?

Yeah, I'd wish too.

-- 
Sincerely,
	Dmitry
--- www.karasik.eu.org ---
Received on Sun 25 Jul 2004 - 00:31:12 CEST

This archive was generated by hypermail 2.2.0 : Wed 27 Mar 2013 - 10:40:22 CET