Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
4

vertical scroll bar not visible on StdListBoxWidgetN

Explorer ,
Nov 01, 2023 Nov 01, 2023

Hi,

 

I am using StdListBoxWidgetN for creating a dynamic list wherein insertation to/deletion from the list happen dynamically. When the number of items in list exceeds the number of  items that can be displayed in the list, it is expected that vertical scroll bar will appear and I should be able to scroll the list vertically. However this not happening. The vertical scroll bar doesn't appear and I can scroll down t access the last added items. The .fr content for the list is as follows:

 

type WMSlDlgTreeViewWidget2 (kViewRsrcType) : StdListBoxWidgetN(ClassID = kStdListBoxWidgetNewBoss)
{
WidgetEveInfo;
};

 

WMSlDlgTreeViewWidget2
(
kSelectDialogSelectionWidgetID, 
kSysOwnerDrawListBoxPMRsrcId,// WidgetId, RsrcId
kBindAll,
Frame(15,15,400,225), // Frame
kTrue, 
kTrue, // Visible, Enabled
kTrue, // EraseBeforeDraw
kInterfacePaletteFill, // InterfaceColor
//"",
//kHideRootNode | kDrawBorder, //Options
1,0,                                                      // List dimensions
19,                                                      // Cell height
1,                                                        // Border width
kFalse,                                                  // Has scroll bar (h)
kTrue,                                                    // Has scroll bar (v)
kFalse,                                                  // Multiselection
kFalse,                                                  // List items can be reordered
kFalse,                                                  // Draggable to new/delete buttons
kFalse,                                                  // Drag/Dropable to other windows
kFalse,                                                  // An item always has to be selected //kFalse
kTrue,                                                    // Notify on reselect
0,
0,
 
kFalse, //  Display root node
kFalse, //Use H Scroll bar
kTrue, //Use V scroll bar
20, // Vertical Scroll Button Increment
20, // Vertical Thumb Scroll Increment
0, // Horizontal Scroll Button Increment - Not Used
0, // Horizontal Thumb Scroll Increment - Not Used
1, // Items selectable, 0 = No Selection, 1 = Single Selection, 2 = Multiple Selection
kFalse, // Allow children from multiple parents to be selected
kFalse//, // Allow discontiguous selection
//kEVEExtraLargeSpaceAfter
),
 
PS:Image below:

user6965273_0-1698822181546.png

 

Kindly help.

 

 

TOPICS
Bug , SDK
398
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Nov 01, 2023 Nov 01, 2023

Hi,

 

I think there is one line with "0," too much in the middle of the list.

 

Markus

 

Translate
Community Beginner ,
Nov 01, 2023 Nov 01, 2023

Hi,

 

I think there is one line with "0," too much in the middle of the list.

 

Markus

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 08, 2023 Nov 08, 2023
LATEST

Thanx, It worked.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines