1 Replies - 831 Views - Last Post: 12 February 2011 - 11:35 AM Rate Topic: -----

#1 sifar786  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 29-November 08

Scrollbar does not update while tabbing through controls

Posted 12 February 2011 - 04:33 AM

Hi,

i have an SSTAB control on a form. on each tab, i have a Frame which acts as a container for a picturebox. the picturebox in turn acts as a container for a no of textboxes, combos, optionbuttons & checkboxes, placed one below the other.

i have placed a single Vscrollbar towards the right edge of the form.

when i tab / shift-tab through the controls on the picturebox, using tab key or Enter key, the vscrollbar does not update itself. therefore i am unable to see the next control down below.

i have googled for answers but not found any. how do i automatically update the vscrollbar when i tab through the controls on the picturebox lying on a particular tab?

Can anyone help me with this?

P.S: i have attached a sample file containing the code.

Attached File(s)

  • Attached File  test.zip (2.06K)
    Number of downloads: 43


Is This A Good Question/Topic? 0
  • +

Replies To: Scrollbar does not update while tabbing through controls

#2 maj3091  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 299
  • View blog
  • Posts: 1,770
  • Joined: 26-March 09

Re: Scrollbar does not update while tabbing through controls

Posted 12 February 2011 - 11:35 AM

I'm not going to download your code to look at it, but I have to ask the question, if you move the scroll bar manually does it update the picture box as expected (i.e.: what code have got behind the srollbar events to control this movement on each tab??).
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1