thank you Bill.  That is a good design.

----- Original Message -----
From: bill lam <[email protected]>
To: 'Pascal Jasmin' via Programming <[email protected]>
Cc: 
Sent: Thursday, September 25, 2014 1:00 AM
Subject: Re: [Jprogramming] wd 'setlocale'

form locale can be numbered locale since day 1. Specifically
form locale is the current locale when _executing_ wd'pc' cmd.

try the following script, (untested)

coclass 'foo'

create=: 3 : 0
wd'pc bar closeok;cc btn button;pshow'
)

bar_btn_button=: 3 : 0
smoutput coname''
)

cocurrent'base'
''conew 'foo'
''conew 'foo'

form locale of objects created are numbered, not foo, the reason
why bar_btn_button_foo_ will be called is because foo is in the
copath of these objects.




Ср, 24 сен 2014, jprogramming написал(а):
> is there a way to change syslocalep for a form?  change it to a numbered 
> locale? in j803?
> 
> I am referring to syslocalep.
> 
> it would simplify having an object create its own form, and handling multiple 
> instances.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to