Start GeoGebra
Create Activity
Create Book
Upload…
Create Group
Join Group
Resources
Downloads
Blog
Help
Sign in
搜索
页面
讨论
查看源代码
历史
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
Create language links
链入页面
相关更改
上传文件
特殊页面
查看“動作物件”的源代码
←
動作物件
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
不允许您执行您所请求的操作。
您可以查看和复制此页面的源代码。
<noinclude>{{Manual Page|version=4.0}}</noinclude>{{objects}} For interactive worksheets with [[Scripting|scripting]] Action Objects may come handy. There are four types of them ==Checkboxes== Checkboxes are graphical representations of [[Boolean values]]. See [[Check Box to Show / Hide Objects Tool]] for details. Checkboxes can be created using the aforementioned tool or [[Checkbox Command]]. ==Input Boxes== Input Boxes work as text inputs for [[Scripting|scripts]]. The script is triggered by changing text in the Input Box and either pressing enter or leaving the Input Box. The inserted value may be accessed using the %0 variable. {{example|1=Input Box with <code>a=a+%0</code> in script will increase number ''a'' by the entered value. Works only if ''a'' is [[Free, Dependent and Auxiliary Objects|free]].}} If you want the Input Box to change value of a free object (or redefine dependent object), you may define that object as linked. This way you don't have to insert any script. Input Boxes can be created using [[Insert Input Box Tool]] or [[InputBox Command]]. ==Buttons== Buttons are meant to trigger scripts by being clicked. Although scripts can be triggered by clicking any other object (e.g. an [[Insert Image Tool|image]]), using buttons for this makes your worksheet more intuitive. Input Boxes can be created using [[Insert Button Tool]] or [[Button Command]]. ==下拉式選單== 下拉式選單的功能只有[[試算表]]中才有。你可以在儲存格中輸入一個集合(如:A1={1,2,3,4}),然後打開[[屬性對話視窗|試算表選項]],並勾選「使用按鈕與勾選框」,這時儲存格就會變為一個下拉式選單。如果在程式中要使用目前下拉式選單所選擇的項目,可以使用 [[SelectedIndex 指令|SelectedIndex]] 與 [[SelectedElement 指令|SelectedElement]] 兩個指令。 [[Category:Awaiting Translation]]
该页面使用的模板:
Template:Example
(
查看源代码
)
Template:Manual Page
(
查看源代码
)
Template:Note
(
查看源代码
)
Template:Objects
(
查看源代码
)
返回至
動作物件
。
GeoGebra
About
Team
Blog
Help
Tutorials
Forum
Manual
Partners
Partners
Institutes
Get Involved
Contact us
Feedback & Questions
This email address is being protected from spambots. You need JavaScript enabled to view it.
+43 677 6137 2693
Terms of Service
Privacy
License
© 2024 International GeoGebra Institute