📄 u_toolbar.htm
字号:
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
None
</TD></TR>
<TR>
<TD VALIGN=TOP><STRONG>Usage</TD>
<TD><CODE>None</CODE>
</TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><HR SIZE=1><B>
<A NAME="oftbgetMouseOffExtension">
of_tb_getMouseOffExtension
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Return the extension string currently appended to images
not under the mouse
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
string<BR>
The filename extension string
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
None
</TD></TR>
<TR>
<TD VALIGN=TOP><STRONG>Usage</TD>
<TD><CODE>None</CODE>
</TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><HR SIZE=1><B>
<A NAME="oftbgetSpaceBeforestringasname">
of_tb_getSpaceBefore
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Determine the spacebefore value of a toolbar button
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
integer<BR>
The space before value
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
<TABLE BORDER=1 WIDTH=100%>
<TR BGCOLOR="#DDDDDD">
<TD><STRONG>Argument</STRONG></TD>
<TD><STRONG>DataType</STRONG></TD>
<TD><STRONG>Description</STRONG></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>as_name</TD>
<TD>string</TD>
<TD> The identifying string of the toolbar button to
test</TD>
</TR>
</TABLE>
<BR>
</TD></TR>
<TR>
<TD VALIGN=TOP><STRONG>Usage</TD>
<TD><CODE>None</CODE>
</TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><HR SIZE=1><B>
<A NAME="oftbgetVisiblestringasname">
of_tb_getVisible
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Determine if a toolbar button is currently visible
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
boolean<BR>
TRUE if the toolbar button is currently visible
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
<TABLE BORDER=1 WIDTH=100%>
<TR BGCOLOR="#DDDDDD">
<TD><STRONG>Argument</STRONG></TD>
<TD><STRONG>DataType</STRONG></TD>
<TD><STRONG>Description</STRONG></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>as_name</TD>
<TD>string</TD>
<TD> The identifying string of the toolbar button to
test</TD>
</TR>
</TABLE>
<BR>
</TD></TR>
<TR>
<TD VALIGN=TOP><STRONG>Usage</TD>
<TD><CODE>None</CODE>
</TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><HR SIZE=1><B>
<A NAME="oftbgetWindow">
of_tb_getWindow
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Get a pointer to the window the toolbar is on
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
window<BR>
The window contining the toolbar
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
None
</TD></TR>
<TR>
<TD VALIGN=TOP><STRONG>Usage</TD>
<TD><CODE>None</CODE>
</TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><HR SIZE=1><B>
<A NAME="oftbreadFromMenu">
of_tb_readFromMenu
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Finds the menu attached to the window. For every menu
item in the menu with a toolbar setup, a toolbar button
is created on the window.
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
(none)<BR>
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
None
</TD></TR>
<TR>
<TD VALIGN=TOP><STRONG>Usage</TD>
<TD><CODE>None</CODE>
</TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><HR SIZE=1><B>
<A NAME="oftbsetBitmapmenuamenustringasfilename">
of_tb_setBitmap
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Change the standard bitmap of a toolbar button attached
to a menu item.
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
(none)<BR>
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
<TABLE BORDER=1 WIDTH=100%>
<TR BGCOLOR="#DDDDDD">
<TD><STRONG>Argument</STRONG></TD>
<TD><STRONG>DataType</STRONG></TD>
<TD><STRONG>Description</STRONG></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>amenu</TD>
<TD>menu</TD>
<TD> The menu item of the toolbar button to change.
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>as_filename</TD>
<TD>string</TD>
<TD> The new standard bitmap filename. The filename
should always be supplied as the enabled bitmap
regardless of any current style settings.</TD>
</TR>
</TABLE>
<BR>
</TD></TR>
<TR>
<TD VALIGN=TOP><STRONG>Usage</TD>
<TD><CODE>None</CODE>
</TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><HR SIZE=1><B>
<A NAME="oftbsetButtonStyleintegeraibuttonpixelwidthintegeraibuttonpixelheightintegeraipicturepixelwidthintegeraipicturepixelheightstringasprefix">
of_tb_setButtonStyle
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Set the style of bitmap to be drawn on the next
of_tb_draw() call.
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
(none)<BR>
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
<TABLE BORDER=1 WIDTH=100%>
<TR BGCOLOR="#DDDDDD">
<TD><STRONG>Argument</STRONG></TD>
<TD><STRONG>DataType</STRONG></TD>
<TD><STRONG>Description</STRONG></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>ai_buttonpixelwidth</TD>
<TD>integer</TD>
<TD></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>ai_buttonpixelheight</TD>
<TD>integer</TD>
<TD></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>ai_picturepixelwidth</TD>
<TD>integer</TD>
<TD></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>ai_picturepixelheight</TD>
<TD>integer</TD>
<TD></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>as_prefix</TD>
<TD>string</TD>
<TD></TD>
</TR>
</TABLE>
<BR>
</TD></TR>
<TR>
<TD VALIGN=TOP><STRONG>Usage</TD>
<TD><CODE>None</CODE>
</TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><HR SIZE=1><B>
<A NAME="oftbsetCheckedmenuamenubooleanabchecked">
of_tb_setChecked
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Change the checked status of a toolbar button and the
menu item that the toolbar button represents.
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
(none)<BR>
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
<TABLE BORDER=1 WIDTH=100%>
<TR BGCOLOR="#DDDDDD">
<TD><STRONG>Argument</STRONG></TD>
<TD><STRONG>DataType</STRONG></TD>
<TD><STRONG>Description</STRONG></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>amenu</TD>
<TD>menu</TD>
<TD> The menu item that the toolbar represents.
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>ab_checked</TD>
<TD>boolean</TD>
<TD> The new checked status.</TD>
</TR>
</TABLE>
<BR>
</TD></TR>
<TR>
<TD VALIGN=TOP><STRONG>Usage</TD>
<TD><CODE>None</CODE>
</TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><HR SIZE=1><B>
<A NAME="oftbsetCheckedstringasnamebooleanabchecked">
of_tb_setChecked
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Change the checked status of a toolbar button not
representing a menu item..
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
(none)<BR>
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
<TABLE BORDER=1 WIDTH=100%>
<TR BGCOLOR="#DDDDDD">
<TD><STRONG>Argument</STRONG></TD>
<TD><STRONG>DataType</STRONG></TD>
<TD><STRONG>Description</STRONG></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>as_name</TD>
<TD>string</TD>
<TD> The identifying name of the toolbar button.
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>ab_checked</TD>
<TD>boolean</TD>
<TD> The new checked status.</TD>
</TR>
</TABLE>
<BR>
</TD></TR>
<TR>
<TD VALIGN=TOP><STRONG>Usage</TD>
<TD><CODE>None</CODE>
</TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><HR SIZE=1><B>
<A NAME="oftbsetEnabledmenuamenubooleanabenabled">
of_tb_setEnabled
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Change the enabled status of a toolbar button and the
menu item that the toolbar button represents.
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
(none)<BR>
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
<TABLE BORDER=1 WIDTH=100%>
<TR BGCOLOR="#DDDDDD">
<TD><STRONG>Argument</STRONG></TD>
<TD><STRONG>DataType</STRONG></TD>
<TD><STRONG>Description</STRONG></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>amenu</TD>
<TD>menu</TD>
<TD> The menu item that the toolbar represents.
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>ab_enabled</TD>
<TD>boolean</TD>
<TD> The new enabled status.</TD>
</TR>
</TABLE>
<BR>
</TD></TR>
<TR>
<TD VALIGN=TOP><STRONG>Usage</TD>
<TD><CODE>None</CODE>
</TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><HR SIZE=1><B>
<A NAME="oftbsetEnabledstringasnamebooleanabenabled">
of_tb_setEnabled
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Change the enabled status of a toolbar button not
representing a menu item..
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
(none)<BR>
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -