if you use :-
dw_1.enabled = False //the whole datawindow object will be disabled including scrollbars
instead of that use below :-
dw_1.Object.DataWindow.ReadOnly = "yes"
//the scroll bar will still work and you can scroll up and down the datawindow
to set enable again :_
dw_1.Object.DataWindow.ReadOnly = "no"
No comments:
Post a Comment