vb.net - Determine if a DataGridView's horizontal scroll bar exists? -


visual basic 2010, .net 3.5 there way pragmatically determine if datagridview's horizontal scroll bar active or visible? need move few items when dgv's horizontal scroll bar comes on.

just give idea (i have no time right , or visual studio in front of me):

   each c in datagridview1.controls         if c.gettype() gettype(vscrollbar)             dim vbar vscrollbar= directcast(c, vscrollbar)             if vbar.visible = true                'do whatever             end if         end if     next 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -