Re: CommandButton question

2005-05-07 Thread 前川享仁
Hi Friedger,

> I wonder why you need to access the label of a commandbutton. If you
> want to use different values for the label try ReactiveLabel.
> 
> Friedger

Thanks.

I've read about ReactiveLabel in online help.
But maybe its concept was too new to me,
so what I could understand at that time was
that I should use it when I need to change status of buttons...

Anyway I'll read the help and try it again!

-- 
-
Maekawa Takanobu
e-mail:[EMAIL PROTECTED]
CANSOFT,INC.Tel:044(969)9747 Fax:044(969)9748
http://www.cansoft.co.jp/

***
To unsubscribe from this list, send a mail to:
mailto:[EMAIL PROTECTED]
To contact a human list administrator, send a mail to:
mailto:[EMAIL PROTECTED]
To recieve a list of other options for this list, send a mail to:
mailto:[EMAIL PROTECTED]

Re: CommandButton question

2005-05-06 Thread Friedger

I wonder why you need to access the label of a commandbutton. If you
want to use different values for the label try ReactiveLabel.

Friedger

***
To unsubscribe from this list, send a mail to:
mailto:[EMAIL PROTECTED]
To contact a human list administrator, send a mail to:
mailto:[EMAIL PROTECTED]
To recieve a list of other options for this list, send a mail to:
mailto:[EMAIL PROTECTED]

Re: CommandButton question

2005-05-06 Thread Friedger
In Curl 3 the following works.

{curl 3.0 applet}

{let cb = {CommandButton label = "lkj"}}
{cb.label.get-text}

Friedger

***
To unsubscribe from this list, send a mail to:
mailto:[EMAIL PROTECTED]
To contact a human list administrator, send a mail to:
mailto:[EMAIL PROTECTED]
To recieve a list of other options for this list, send a mail to:
mailto:[EMAIL PROTECTED]

CommandButton question

2005-05-06 Thread Takanobu Maekawa
Hi gurus,

How to get string of label on CommandButton?

for example, simply the bellow codes can't work...

{let btn:CommandButton = {CommandButton label="hoge"}}
{let s:String = {btn.label}}

I know this will fail because "btn.label" returns Visual.

So I tried an another idea like bellow..
{VBox
  {CommandButton
label="hoge",
{on Action at btn:CommandButton do
   let s:String = {btn.get-text}
   {popup-message s}
}
  }
}

this doesn't work.
the message of window generated by popup-massage is empty.

I am seeking with online help and Friedger's example site
(http://km0330.keymachine.de/friedger/brentyoung/examples.curl),
but can not find how to do that.

Is there right way to get button's label string?
Thanks for any help.

Regards.

Takanobu Maekawa



***
To unsubscribe from this list, send a mail to:
mailto:[EMAIL PROTECTED]
To contact a human list administrator, send a mail to:
mailto:[EMAIL PROTECTED]
To recieve a list of other options for this list, send a mail to:
mailto:[EMAIL PROTECTED]