Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
custom:javascript:lib:ddlightbarmenu.js [2019/05/11 14:11] – Added information about the new menuTitle property, which can be used to specify a title to write in the top border nightfoxcustom:javascript:lib:ddlightbarmenu.js [2019/05/12 20:13] – Renamed menuTitle to topBorderText, and added a bottomBorderText propery. nightfox
Line 46: Line 46:
 | itemTextCharHighlightColor | The color of a highlighted non-space character in an item text (specified by having a & in the item text).  It's important not to specify a "\1n" in here in case the item text should have a background color. | | itemTextCharHighlightColor | The color of a highlighted non-space character in an item text (specified by having a & in the item text).  It's important not to specify a "\1n" in here in case the item text should have a background color. |
 | borderColor                | The color for the borders (if borders are enabled) | | borderColor                | The color for the borders (if borders are enabled) |
-menuTitle                  The text to write in the top border (if borders are enabled).  This defaults to an empty string.  Synchronet color/attribute codes are supported. |+topBorderText              Text to write in the top border (if borders are enabled).  This defaults to an empty string.  Synchronet color/attribute codes are supported. | 
 +| bottomBorderText           | Text to write in the bottom border (if borders are enabled).  This defaults to an empty string.  Synchronet color/attribute codes are supported. |
  
 By default, the menu selection will wrap around to the beginning/end when using the down/up arrows.  That behavior can be disabled by setting the wrapNavigation property to false. By default, the menu selection will wrap around to the beginning/end when using the down/up arrows.  That behavior can be disabled by setting the wrapNavigation property to false.
Line 92: Line 93:
   lbMenu.Add("E&xit", -1);   lbMenu.Add("E&xit", -1);
      
-  // To enable borders and set a title to display in the top border:+  // To enable borders and set text to display in the top & bottom borders:
   lbMenu.borderEnabled = true;   lbMenu.borderEnabled = true;
-  lbMenu.menuTitle = "Options";+  lbMenu.topBorderText = "Options"; 
 +  lbMenu.bottomBorderText = "ESC: Quit";
  
 To enable borders, set the borderEnabled property to true.  Example: To enable borders, set the borderEnabled property to true.  Example: