User Definable ButtonsUser Definable Buttons enable the user to associate a command line with a button. When the button is pressed then the specified button command line is executed. There are three system buttons that can NOT be modified in any way (ie. the Exit button, the Shell button and the Help button), and there are 27 additional user buttons that can be modified :-
![]() The system menu contains the Buttons option, which when selected will bring up a sub-menu, as below :-
![]() Displaying the Buttons The option Show will display the buttons at the top of the WinOne® window. Hiding the Buttons The option Hide will remove the buttons from the top of the WinOne® window.
![]() Hiding Button Text The option Text will toggle the text displayed next to a button on or off. A small tick mark is displayed next to the Text option when the text is on. No tick mark is displayed next to the Text option when the text is off. When the mouse pointer is positioned over a button for 2 seconds the button name will be displayed in a small yellow window as below :-
![]() Button Manipulation The sub-menu also contains the following additional options :-
2. Edit - Modify an existing button. 3. Insert - Add a new button. 4. Images - Add or remove a button image. 5. Delete - Remove an existing button.
![]() When editing, inserting or deleting a button or a button separator, a message is displayed , informing the user that the buttons have been marked to perform the specified function. Also, the cursor will be changed to a hand cursor. Then the next time a button is pressed, using the mouse, the specified function will be carried out. Type ^C at the WinOne® prompt to cancel the operation. For example, after the buttons have been marked to insert, press the red Exit button to insert a new button before it (ie. on the left hand side of the red Exit button). When editing or inserting a button, a window will appear, where the button name, command line and the image for the new button is specified. The images displayed includes all the default images, as well as any custom images that may have been added. The button command line can include anything that can be entered at the WinOne® prompt, this includes File Extension Associations and Macro's.
![]() Drop On Buttons Drop On Buttons allows a file(s) or a directory to be dropped on to them (eg. from Explorer) and the respective button command will be executed, after the file(s) or directory has been added to the end of the button command. Use the Drop On button check box to set or reset drop on capabilities. The button name will be displayed in italics in the main WinOne® window to enable them to be distinguished from non-drop on buttons :-
![]() Button Images There are 48 default images that can be displayed inside a button, as follows :-
![]() Adding a button image Adding a button image allows custom images to be displayed inside a button. Images are created from icons that are stored inside files that have an extension of .EXE, .DLL or .ICO. To add a button image select the Image... option from the button menu. The following window is displayed and contains the Add tab :-
![]() Press the Browse button to select a file to extract the images from. After a file has been selected then all the images inside the file will be displayed inside the list box. Simply select the image to add from this list box and press the OK button. The image will then be added to the end of all the default button images. The Colour drop down list allows the background colour of the buttons, contained in the list box, to be set. By default the buttons will have a yellow background colour. Removing a button image To remove a custom button image select the Image... option from the button menu. The following window is displayed and contains the Remove tab ;-
![]() Simply select the image to remove from the list box and press the OK button. |
|
|
|
|
|
|
Copyright © 1995-2005 Lucien Cinc, All Rights Reserved
WinOne is an Australian registered trademark of Lucien Cinc