From: George H. <geo...@us...> - 2011-11-18 11:04:31
|
Update of /cvsroot/win32forth/win32forth/Help/html In directory vz-cvs-4.sog:/tmp/cvs-serv20115 Modified Files: class-controls.htm Removed Files: clas-SQLite.htm clas-Sock.htm clas-sockserv.htm Log Message: Updated docs. --- clas-Sock.htm DELETED --- --- clas-sockserv.htm DELETED --- Index: class-controls.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/Help/html/class-controls.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** class-controls.htm 17 Nov 2011 21:57:09 -0000 1.1 --- class-controls.htm 18 Nov 2011 11:04:29 -0000 1.2 *************** *** 776,779 **** --- 776,794 ---- </p><p><b><code>;Class </code></b><br>End of UpDownControl control + </p><p><b><code>:Class SpinnerControl <Super UpDownControl + </code></b><br>Spinner Control Class. + </p><p>This class is a combination of an up-down control and a Text Box (the buddy). + </p><p><b><code>:m start: ( parent -- ) + </code></b><br>Start the control. + </p><p><b><code>:m TheBox: ( -- spinbox ) + </code></b><br>Object address of the text box for directly manipulating it (though it shouldn't really be done). + </p><p><b><code>:m Move: ( x y w h -- ) + </code></b><br>Move the text box to the specified positon and the up-down control as well. + </p><p><b><code>:m SetFont: ( hndl -- ) + </code></b><br>Set the font of the text box. + </p><p><b><code>:M Close: ( -- ) + </code></b><br>Close the control. + </p><p><b><code> + </code></b><br>End of Spinner Control Class. </p><a name="CheckBox"></a> <h2>CheckBox class *************** *** 1673,1677 **** </code></b><br>End of MultiLineTabControl class </p><p>For a demo how to use the TabControl see: TabControlDemo.f ! </p><h1>ExControls -- More (enhanced) classes for none standard windows controls. </h1><a name="VertButtonBar"></a> <h2>VertButtonBar class --- 1688,1757 ---- </code></b><br>End of MultiLineTabControl class </p><p>For a demo how to use the TabControl see: TabControlDemo.f ! </p><a name="UpDownControl"></a> ! <h2>UpDownControl class ! </h2><p><b><code>:Class UpDownControl <Super Control ! </code></b><br>Up-Down control ! </p><p>An up-down control is a pair of arrow buttons that the user can click to ! increment or decrement a value, such as a scroll position or a number displayed ! in a companion control. ! </p><p>For 16 Bit values only. ! </p><p><b><code>:M ClassInit: ( -- ) ! </code></b><br>Initialise the class. ! </p><p><b><code>:M WindowStyle: ( -- style ) ! </code></b><br>Get the window style of the control. Default style is: ! WS_BORDER, UDS_ARROWKEYS, UDS_SETBUDDYINT and UDS_ALIGNRIGHT. ! </p><p><b><code>:M AddStyle: ( n -- ) ! </code></b><br>Set any additional style of the control. Must be done before the control ! is created. ! </p><p><b><code>:M Start: ( Parent -- ) ! </code></b><br>Create the control. ! </p><p><b><code>:M StartSize: ( -- cx cy ) ! </code></b><br>default window size ! </p><p><b><code>:M StartPos: ( -- x y ) ! </code></b><br>default window position ! </p><p><b><code>:M SetBuddy: ( hBuddy -- ) ! </code></b><br>Sets the buddy window for the up-down control. ! </p><p><b><code>:M GetValue: ( -- n ) ! </code></b><br>Retrieves the current position of the up-down control. ! Note: This method ABORT's on error. ! </p><p><b><code>:M SetValue: ( n -- ) ! </code></b><br>Set the current position for the up-down control. ! </p><p><b><code>:M SetDecimal: ( -- ) ! </code></b><br>Sets the radix base for the control to decimal. ! Decimal numbers are signed. ! </p><p><b><code>:M SetHex: ( -- ) ! </code></b><br>Sets the radix base for the control to hexadecimal. ! Hexadecimal numbers are always unsigned. ! </p><p><b><code>:M GetBase: ( -- n ) ! </code></b><br>Get the current radix base (that is, either base 10 or 16). ! </p><p><b><code>:M SetRange: ( lower upper -- ) ! </code></b><br>Sets the minimum and maximum positions (range) the control. ! Neither position can be greater than the UD_MAXVAL value or less than ! the UD_MINVAL value. In addition, the difference between the two positions ! cannot exceed UD_MAXVAL. ! </p><p><b><code>:M GetRange: ( -- lower upper ) ! </code></b><br>Retrieves the minimum and maximum positions (range) for the control. ! </p><p><b><code>:M Enable: ( f -- ) ! </code></b><br>Enable the control. ! </p><p><b><code>:M Disable: ( -- ) ! </code></b><br>Disable the control. ! </p><p><b><code>;Class ! </code></b><br>End of UpDownControl control ! </p><p><b><code>:Class SpinnerControl <Super UpDownControl ! </code></b><br>Spinner Control Class. ! </p><p>This class is a combination of an up-down control and a Text Box (the buddy). ! </p><p><b><code>:m start: ( parent -- ) ! </code></b><br>Start the control. ! </p><p><b><code>:m TheBox: ( -- spinbox ) ! </code></b><br>Object address of the text box for directly manipulating it (though it shouldn't really be done). ! </p><p><b><code>:m Move: ( x y w h -- ) ! </code></b><br>Move the text box to the specified positon and the up-down control as well. ! </p><p><b><code>:m SetFont: ( hndl -- ) ! </code></b><br>Set the font of the text box. ! </p><p><b><code>:M Close: ( -- ) ! </code></b><br>Close the control. ! </p><p><b><code> ! </code></b><br>End of Spinner Control Class. ! </p><h1>ExControls -- More (enhanced) classes for non-standard windows controls. </h1><a name="VertButtonBar"></a> <h2>VertButtonBar class --- clas-SQLite.htm DELETED --- |