Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Maplets[Tools][AddAttribute] - 要素への属性の追加
使い方
AddAttribute(x, opts)
パラメータ
x - 要素
opts - (オプション) 追加するオプションの属性
説明
AddAttribute(x, opts) コマンドは、以前に構成された要素に対して、属性を追加します。これは高度な機能です。ポスト処理は実行されません。従って、ショートカットは使用できません。
AddAttribute コマンドは、Maplet コマンドを呼び出す前に構築された要素上で使用する必要があります。また、それが適用されるオブジェクト上で直接使用することができます。
例
クリックされると終了するという、1 つのラベルを持った maplet の例:
with(Maplets[Elements]): b := Button("Hello", 'onclick' = 'A1');
Maplets[Tools][AddAttribute]( b, 'reference' = 'B1', 'color' = "#FF00FF" );
参照
Maplets パッケージの概要, Maplets[Tools] パッケージの紹介
Download Help Document