Skip to Content
0
Former Member
Dec 24, 2013 at 06:31 AM

How to change the position of line object to top or bottom ?

322 Views

Dear Friends ,

I am trying to change the Position of Field object , text object and line object dynamically .

There is no issue with Text and Field Object , But I can't able to move the position of line object to Top and Bottom .

But Left and right property of line object is working fine .

I notify that Top and Bottom of the line object Property value is always be same . so I have tested with Hard code values , still I can't able to move the line object to top or bottom .

If ReportObject.Kind = 3 Then

obj = DirectCast(ReportObject, LineObject)

obj.left = 45

obj.right = 11865

obj.top = 7941

obj.bottom = 7941

end if

What I am doing wrong here , I also checked below link , Please suggest . I am using VS 2010 , SP 6 , OS - Windows 7 .

http://scn.sap.com/thread/1505558

http://scn.sap.com/thread/3184310