Thank for embedding the code Jon,
but the listener and the help browser immediately kill.
If I give f as initial value of checkbox model, just nothing happens!
On 16/09/2011 16.41, Jon Harper wrote:
> Oh sorry, here's the content of the paste:
>
> USING: kernel accessors namespaces models ui ui.
Oh sorry, here's the content of the paste:
USING: kernel accessors namespaces models ui ui.gadgets models.arrow
ui.gadgets.packs ui.gadgets.buttons ;
FROM: system => exit ;
IN: gui
{ 10 10 } >>gap
t
[ "Enable QUIT" add-gadget ]
[ "Quit" swap [ value>> [ 0 exit ] when drop ]
Thank you Joe!
I'm so curious to see your post, but my boss added the factorcode site
to the black list
so I'm forced to attach code to email, I'm very sorry!
This week-end I'll try to understand.
Thank you and good week-end to all!
P.S.:
The listener dies when I click on the quit button.
I use th
When running your code in the listener, it doesn't get killed
immediately here. What version are you using ?
Also, a better way to share code on this list is to use the pastebin:
http://paste.factorcode.org/
As for your checkbox problem, I think you have 2 issues:
- variable scope: the quotations
Hi to all factorers!
I was trying to develop a trivial gui example.
Of course my code is bugged but when I execute this 6-line script
the listener kill immediately.
1) Can you tell me how to avoid this?
2) Can you tell me how to make the button work according to the checkbox ?
Thank you very much