Hello Anton,

sounds interesting, I know I will have some fields which I want to put into
Blocks, but it doesn't work. All I get is something like this:

Title
<a field>
Format
------------------- (yes lines, no field)
and no OK Button

On  4.05.2006, you wrote:

> 
> Hi Yvan,
> 
> You could also do this:
> 
>     view layout [
>         my-panel: panel [
>             text "title" title-field: field 
>             text "format" format-field: field 
>             button "OK" [unview]
>         ]
>     ]
> 
>     get-face my-panel
>     ;== [title-field: "hello" format-field: "there"]
> 
> I personally have never used this way, but if you have lots
> of fields the result could be used as an object spec block, eg:
> 
>     obj: make object! get-face my-panel
> 
> Anton.
> 
>> Hello,
>> 
>> this has to be a very very basic newbie question, at least I hope so.  
>> 
>> Okay, consider the following piece of code:
>> 
>> view layout 
>> [
>>  text "title" field
>>  text "format" field
>>   button "OK" 
>> ]   
>> 
>> All I want to achieve is:
>> 
>> when clicking the OK button, 
>> - the values entered in the two fields should be saved in two different
>> variables
>> - the layour should be closed 
>> 
>> How can I achieve that?
>> 
>> Cheers
>> Yvan
> 
Regards

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to