📄 u_toolbar.htm
字号:
<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></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>ab_enabled</TD>
<TD>boolean</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="oftbsetmouseoffextensionstringasmouseoffextension">
of_tb_setmouseoffextension
</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>
<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_mouseoffextension</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="oftbsetRedrawbooleanabredraw">
of_tb_setRedraw
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Call setredraw of all windows containing toolbars
</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>ab_redraw</TD>
<TD>boolean</TD>
<TD> The redraw status to set.</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="oftbsetSpacebeforemenuamenuintegeraispacebefore">
of_tb_setSpacebefore
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Change the spacebefore property 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>ai_spacebefore</TD>
<TD>integer</TD>
<TD> The new spacebefore value.</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="oftbsetSpacebeforestringasnameintegeraispacebefore">
of_tb_setSpacebefore
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Change the spacebefore property 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>ai_spacebefore</TD>
<TD>integer</TD>
<TD> The new spacebefore value.</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="oftbsetvisiblemenuamenubooleanabvisible">
of_tb_setvisible
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Change the visible 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_visible</TD>
<TD>boolean</TD>
<TD> The new visible 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="oftbsetVisiblestringasnamebooleanabvisible">
of_tb_setVisible
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Change the visible 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></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="EEEEEE">
<TD>ab_visible</TD>
<TD>boolean</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="pfmenuToToolbarreadonlymenuamenu">
pf_menuToToolbar
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
If the menu item passed has a toolbar picture then a
u_toolbutton objects is created on the window.
This function is recursive. A menu item has an array of
menu items hanging from it. This function calls itself
for each of these sub-menu items and so on and so on....
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
(none)<BR>
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
private
</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> A pointer to a base menu item from which to add
pictures</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="pfpositionButtons">
pf_positionButtons
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
When this function is called, all the toolbuttons exist
as the correct size on the screen.
The visible toolbuttons are positioned in their sequence
number.
Having sorted out the buttons then a border is drawn
around the area taken up by the toolbar
</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="pfsizebuttons">
pf_sizebuttons
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
This sets all the toolbar buttons to the heights set in
the instance variables ii_pixelButtonWidth and
ii_pixelButtonHeight. Bitmaps within the buttons are set
to ii_pixelPictureWidth and ii_PixelPictureHeight.
The tooltip registry is amended for the new size.
</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>
</TABLE>
</TD>
</TR>
<TR><TD VALIGN=TOP><B>Events</TD><TD>
<TABLE VALIGN=TOP ALIGN=TOP BORDER=0 WIDTH=100%>
<TR><TD COLSPAN=2><HR SIZE=1></TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><B>
constructor
</B><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Register the toolbar.
Set a pointer to the window containg the toolbar.
Create a tooltip window
<BR>
</TD></TR>
<TR><TD COLSPAN=2><HR SIZE=1></TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><B>
destructor
</B><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
None
<BR>
</TD></TR>
<TR><TD COLSPAN=2><HR SIZE=1></TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><B>
ue_buttonover
</B><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
None
<BR>
</TD></TR>
</TABLE>
</TD></TR>
<TR><TD></TD><TD><HR SIZE=1></TD></TR>
<TR><TD VALIGN=TOP><B>See Also</B></TD>
<TD>
</TD></TR>
</TABLE>
<HR SIZE=1>
<FONT SIZE="-1">
Document Generated:
26/11/1999 16:47:59
</FONT>
</BODY>
</HTML>
<BR><BR><H2>Generated by PBDoc ( Unregistered Version )</H2>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -