Hello,
How do you go about viewing an item that is not currently visible on the screen? The item is simply at the top of the form but is not in view when the user presses the commit button (if the item is left blank when the user presses commit it should navigate to the item with it in view). Using go_item navigates the cursor to the item fine but not the view as this has to be done manually by scrolling up. I've tried using set_view_property but cannot get it to scroll automatically up - perhaps I'm not doing this properly? Any suggestions?
Thanks.
How do you go about viewing an item that is not currently visible on the screen? The item is simply at the top of the form but is not in view when the user presses the commit button (if the item is left blank when the user presses commit it should navigate to the item with it in view). Using go_item navigates the cursor to the item fine but not the view as this has to be done manually by scrolling up. I've tried using set_view_property but cannot get it to scroll automatically up - perhaps I'm not doing this properly? Any suggestions?
Thanks.