Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== SELECTIONSTYLE property (Listbox) ====== ==== Description ==== Specifies whether items in a ListBox control are drawn using the classic ListBox style (solid color) or the TreeView style (lighter fill color with a border). {{ListBox_Style.png?209x231}} {{TreeView_Style.png?209x231}} ListBox style TreeView style ==== Property Value ==== A numeric value that describes how the items in the ListBox should be drawn. ^Value^Description^ |0|Use the default settings for the renderer.| |1|Paint non-header items in the normal ListBox style.| |2|Paint the non-header items using a TreeView style (if supported by the renderer).| ==== Property Traits ==== ^Development^Runtime^Indexed^Scaled^Synthetic^ |Get/Set|Get/Set|No|No|No| ==== Remarks ==== Not all renderers support a TreeView style that is different from the ListBox style, therefore the SELECTIONSTYLE property has no effect when using the following: • CLASSIC renderer • AERO renderer Equated constants for this property can be found in the PS_LISTBOX_EQUATES insert record. ==== Example ==== <code> Declare Subroutine Set_Property_Only $Insert PS_ListBox_Equates // Example - ensure that the LST_CONTROLS ListBox always // uses the ListBox style regardless of the renderer. Set_Property_Only( @Window : ".LST_CONTROLS", "SELECTIONSTYLE", LBRS_LISTBOX$ ) </code> ==== See Also ==== SYSTEM VISUALSTYLE property, WINDOW VISUALSTYLE property guides/oi10/presentation_server/selectionstyle_property_listbox.txt Last modified: 2023/10/25 10:49by 127.0.0.1