How to Draw Line using VB6 code
keturpatel
India
Dear All,
I want to create a dynamic report as per given parameters at runtime. For this, i need to create a Horizontal line at specified point, but do not know how to do this.
To draw line in design mode, we have TfrxLineView object, which i cannot find at runtime. I tried TfrxFrame but did not able to do what i want.
I was able to draw a rectancle of height 0 using TfrxShapeView, which looks like a line. But again i will prefer to use TfrxLineView.
Any kind of help regarding issue is appreciated.
Thanks in advance,
I want to create a dynamic report as per given parameters at runtime. For this, i need to create a Horizontal line at specified point, but do not know how to do this.
To draw line in design mode, we have TfrxLineView object, which i cannot find at runtime. I tried TfrxFrame but did not able to do what i want.
I was able to draw a rectancle of height 0 using TfrxShapeView, which looks like a line. But again i will prefer to use TfrxLineView.
Any kind of help regarding issue is appreciated.
Thanks in advance,
Comments
At first glance, it seems to be a perfect solution.
Will try it.
Thanks again.
KETUR