Re: How to change properties of a button on a canvas?
From: Daniel Morgan <damorgan_at_exxesolutions.com>
Date: Sun, 22 Jun 2003 10:08:25 -0700
Message-ID: <3EF5E289.94491829_at_exxesolutions.com>
Date: Sun, 22 Jun 2003 10:08:25 -0700
Message-ID: <3EF5E289.94491829_at_exxesolutions.com>
michael wrote:
> Hye
>
> I would like to write a simple code that checks the label of a button
>
> Label = get_canvas_label_property
> IF Label = 'x' THEN
> Label = 'y'
> ELSIF Label = 'y' THEN
> Label = 'x'
> END IF;
>
> How to get the label of a buttong in code and then how to set this label
> with its new value
>
> TIA
> Michal
Look at the get_item_property built-in.
-- Daniel Morgan http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Sun Jun 22 2003 - 19:08:25 CEST