Descargar
Desarrollar
Cuenta
Descargar
Desarrollar
Entrar
Forgot Account/Password
Crear Cuenta
Idioma
Ayuda
Idioma
Ayuda
×
Entrar
Nombre de usuario
Contraseña
×
Forgot Account/Password
Translation Status of Español
Categoría:
Software
Gente
PersonalForge
Magazine
Wiki
Buscar
OSDN
>
Buscar Software
>
Software Development
>
Build Tools
>
マスカット
>
Foros
>
公開ディスカッション
>
ラジオボタンを変更不可にしたい
Descripción
Project Summary
Developer Dashboard
Página Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Historial
Descargas
List of Releases
Stats
Código Fuente
Code Repository list
Subversion
Ver Repositorio
Incidencia
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Communication
Foros
List of Forums
公開ディスカッション (1319)
Mailing Lists
list of ML
maskat-develop
maskat-general
maskat-report
Noticias
Foros:
公開ディスカッション
(Thread #26635)
Return to Thread list
RSS
ラジオボタンを変更不可にしたい (2010-06-23 17:24 by
m_inamine
#51495)
Responder
いつもお世話になっています
現在、maskat-2.1.1.v20090731、maskat-ide-2.1.1.v20090731を使用しています
リモートより応答メッセージを受けて、その結果をラジオボタンへ設定したいのですが
結果設定後に操作不可としたい為、マスカットIDEにてラジオボタンのプロパティの
enableを(false)に設定したのですが
設定しない時(true)に比べて、動作及び表示に違いが見られませんでした。
JavaScriptにて以下のようにした場合はラジオボタンのテキスト部分はグレー表示されますが
ラジオボタンのON/OFFは操作出来るようです
var rdo1 = rdo1 || maskat.app.getLayout("layout").getWidget("rdorep1");
var rdo2 = rdo2 || maskat.app.getLayout("layout").getWidget("rdorep2");
var rdo3 = rdo3 || maskat.app.getLayout("layout").getWidget("rdorep3");
rdo1.widget.setCheck(true,true);
rdo1.widget.setEnable(false);
rdo2.widget.setEnable(false);
rdo3.widget.setEnable(false);
操作禁止とするのにはどうしたら良いでしょうか?
Responder al #51495
×
Sujeto
Body
Reply To Message #51495 > いつもお世話になっています > > 現在、maskat-2.1.1.v20090731、maskat-ide-2.1.1.v20090731を使用しています > リモートより応答メッセージを受けて、その結果をラジオボタンへ設定したいのですが > 結果設定後に操作不可としたい為、マスカットIDEにてラジオボタンのプロパティの > enableを(false)に設定したのですが > 設定しない時(true)に比べて、動作及び表示に違いが見られませんでした。 > > JavaScriptにて以下のようにした場合はラジオボタンのテキスト部分はグレー表示されますが > ラジオボタンのON/OFFは操作出来るようです > var rdo1 = rdo1 || maskat.app.getLayout("layout").getWidget("rdorep1"); > var rdo2 = rdo2 || maskat.app.getLayout("layout").getWidget("rdorep2"); > var rdo3 = rdo3 || maskat.app.getLayout("layout").getWidget("rdorep3"); > rdo1.widget.setCheck(true,true); > rdo1.widget.setEnable(false); > rdo2.widget.setEnable(false); > rdo3.widget.setEnable(false); > > 操作禁止とするのにはどうしたら良いでしょうか?
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Entrar
Nickname
Vista previa
Post
Cancelar
RE: ラジオボタンを変更不可にしたい (2010-07-01 17:34 by
uchidahd
#51679)
Responder
ラジオボタンの有効/無効にはsetEnableを利用してください。
var rdo1 = rdo1 || maskat.app.getLayout("layout").getWidget("rdorep1");
rdo1.setEnabled(false);
また、ラジオグループを利用することで、同じグループのラジオボタンをまとめて有効/無効化できます。
// ラジオグループを読み込む。部品名はラジオボタンのgroup属性の値となります。
var rdoGroup = maskat.app.getLayout("layout").getWidget("rdoGroup");
rdoGroup.setEnabled(false);
Responder al
#51495
Responder al #51679
×
Sujeto
Body
Reply To Message #51679 > ラジオボタンの有効/無効にはsetEnableを利用してください。 > var rdo1 = rdo1 || maskat.app.getLayout("layout").getWidget("rdorep1"); > rdo1.setEnabled(false); > > また、ラジオグループを利用することで、同じグループのラジオボタンをまとめて有効/無効化できます。 > // ラジオグループを読み込む。部品名はラジオボタンのgroup属性の値となります。 > var rdoGroup = maskat.app.getLayout("layout").getWidget("rdoGroup"); > rdoGroup.setEnabled(false);
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Entrar
Nickname
Vista previa
Post
Cancelar
RE: ラジオボタンを変更不可にしたい (2010-07-02 09:03 by
m_inamine
#51689)
Responder
対応ありがとうございます
>ラジオボタンの有効/無効にはsetEnableを利用してください。
>var rdo1 = rdo1 || maskat.app.getLayout("layout").getWidget("rdorep1");
>rdo1.setEnabled(false);
最初の質問の中にまったく同一のコード例を示していると思いますが
動作確認はIE7.0.5730.13で行っています
この記述だとテキスト部分はグレー表示ですがラジオボタンのON/OFF操作は実行出来てしまいます。
Webブラウザの違いによる動作の違いですかね?
ラジオグループの動作説明ありがとうございます。
-以上です
Responder al
#51495
Responder al #51689
×
Sujeto
Body
Reply To Message #51689 > 対応ありがとうございます > > >ラジオボタンの有効/無効にはsetEnableを利用してください。 > >var rdo1 = rdo1 || maskat.app.getLayout("layout").getWidget("rdorep1"); > >rdo1.setEnabled(false); > > 最初の質問の中にまったく同一のコード例を示していると思いますが > 動作確認はIE7.0.5730.13で行っています > > この記述だとテキスト部分はグレー表示ですがラジオボタンのON/OFF操作は実行出来てしまいます。 > Webブラウザの違いによる動作の違いですかね? > > ラジオグループの動作説明ありがとうございます。 > > -以上です
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Entrar
Nickname
Vista previa
Post
Cancelar
RE: ラジオボタンを変更不可にしたい (2010-07-05 09:28 by
uchidahd
#51753)
Responder
最初の質問でm_inamineさんの示したコード例は以下のものです。
>rdo1.widget.setEnable(false);
一方、自分の示しているコードでは以下のようになっています。
>rdo1.setEnabled(false);
似ていますが、動作は違うはずですので、もう一度ご確認ください。
Responder al
#51689
Responder al #51753
×
Sujeto
Body
Reply To Message #51753 > 最初の質問でm_inamineさんの示したコード例は以下のものです。 > >rdo1.widget.setEnable(false); > > 一方、自分の示しているコードでは以下のようになっています。 > >rdo1.setEnabled(false); > > 似ていますが、動作は違うはずですので、もう一度ご確認ください。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Entrar
Nickname
Vista previa
Post
Cancelar
RE: ラジオボタンを変更不可にしたい (2010-07-06 08:55 by
m_inamine
#51772)
Responder
対応、ありがとうございます
違いを見落としてました。
どうもすいません
Responder al
#51495
Responder al #51772
×
Sujeto
Body
Reply To Message #51772 > 対応、ありがとうございます > > 違いを見落としてました。 > どうもすいません >
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Entrar
Nickname
Vista previa
Post
Cancelar