Click here to Skip to main content
11,411,840 members (50,893 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
Been reading the MSDN doc on the ContextMenuStrip and looking on the internet for the last 2 days on how to add vertical scrollBar to ContextMenuStrip (winForm C#), I can't find anything. Does anyone know how this is done? Can someone please point me in the right direction.

Thanks in advance,
-DA
Posted 30-Apr-13 7:05am
Edited 30-Apr-13 7:08am
v2
Comments
ExpertITM at 30-Apr-13 13:37pm
   
have you try with ClientSize property?
Donald Allen at 30-Apr-13 13:42pm
   
yes, but it doesn't add a vertical scrollBar. it adds arrows at the top and bottom of the contextmenustrip. i'm dynamically adding and removing items so I don't have a fixed size but would like to add scroll feature once I've reached 8 items and remove scroll feature if i have less than 8 items

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 268
1 Sergey Alexandrovich Kryukov 200
2 Sascha Lefévre 170
3 ProgramFOX 130
4 Maciej Los 110
0 Sergey Alexandrovich Kryukov 8,955
1 OriginalGriff 7,158
2 Maciej Los 3,480
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web01 | 2.8.150414.5 | Last Updated 30 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100