Curl Global Community

Full Version: 独立型アプレットを複数起動する
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
1つの独立型アプレット(start.dcurl)を複数起動するための手法として、ドキュメントには
複数の起動試行として、Applet.allow-multiple-instancesメソッドを実行するとできる
ような記載されていますが、具体的にどのような実装を行えばよいのでしょうか?
参照URL
http://developers.curlap.com/curl/docs/r...ached.html
http://developers.curlap.com/faq/48-faq-...44-03.html

このようなコードをにアプレットに追加すればいいでしょう:
{{get-the-applet}.allow-multiple-instances}

PHP Code:
{curl 8.0 applet}

{{
get-the-applet}.allow-multiple-instances}

{{
View     {VBox spacing=6ptmargin=0.25inbackground="silver",
        {
CommandButton label="Cancel"} }     },     {on WindowClose do {exit 0}}}.show
{{get-the-applet}.allow-multiple-instances}
を追加したらできました。
ありがとうございました。