From jan@swi.psy.uva.nl Wed Sep 26 15:38:01 2001
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f8QDc0v20766;
	Wed, 26 Sep 2001 15:38:00 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) id f8QDc0218919;
	Wed, 26 Sep 2001 15:38:00 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: Armando Stellato <starred@tiscalinet.it>,
   SWI Mailing List <prolog@swi.psy.uva.nl>
Subject: Re: [SWIPL] Greying buttons in XPCE
Date: Wed, 26 Sep 2001 15:35:26 +0200
X-Mailer: KMail [version 1.0.29.2]
Content-Type: text/plain
References: <3B866F5A.BAB6CEB8@tiscalinet.it>
In-Reply-To: <3B866F5A.BAB6CEB8@tiscalinet.it>
MIME-Version: 1.0
Message-Id: <0109261538000N.15353@gollem>
Content-Transfer-Encoding: 8bit

On Fri, 24 Aug 2001, Armando Stellato wrote:
>Hi,
>I've used
>send(@button,active,@off) in a a predicate, then button has been greyed,
>but ev'ry time I add a character to any text_item in the dialog, the
>buttons returns black, I never explicitated it to return active. So,
>what have I to do?
>Thanks in advance
>Armando Stellato

If an item is modified, it invokes ->modified_item on the device it
is displayed on, so the device can maintain consistency between its
items.   If you do

?- manpce(dialog->modified_item).

you'll find an explanation of what happens.  If you don't like
this you need to re(de)fine this method.

	Regards --- Jan

