Hi Patrick,

thanks for this. Perhaps you could help with a problem following this.

I have extended the code with like this:

add-seat: func [] [append main/pane make-face 'seat show main]
a: [style seat box 6x6 green title "Test" backcolor silver button "Add Seat"
[add-seat]]
main: layout a
view main

with the button and the function i want to be able to add styles to the face
on click.

for some reasons i haven't found out yet, nothing happens so far on clicking
the button

Any ideas

Thorsten


> Hi,
> 
> I am not sure I get your problem, but have you try that :
> 
> >> a: [title "Test" backcolor red]
> >> main: layout a
> >> view main
> 
> Patrick
> ----- Original Message ----- 
> From: "Thorsten Moeller" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 18, 2002 12:03 PM
> Subject: [REBOL] How to make a layout from a block
> 
> 
> > 
> > Hi,
> > 
> > i have a block containing layout-information associated with a word
> like:
> > 
> > a: [title "Test" backcolor red]
> > 
> > i want this block to become the block of a layout like this:
> > 
> > main: layout [title "Test" backcolor red]
> > 
> > How can i do this?
> > 
> > Thanks
> > 
> > Thorsten
> > 
> > -- 
> > GMX - Die Kommunikationsplattform im Internet.
> > http://www.gmx.net
> > 
> > -- 
> > To unsubscribe from this list, please send an email to
> > [EMAIL PROTECTED] with "unsubscribe" in the 
> > subject, without the quotes.
> > 
> 
>  
>
______________________________________________________________________________
> ifrance.com, l'email gratuit le plus complet de l'Internet !
> vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
> http://www.ifrance.com/_reloc/email.emailif
> 
> 
> -- 
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the 
> subject, without the quotes.
> 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to