| |
ActiveReports 2.0 (Visual Basic 6.0) Support
Started by arsamyvel at 02-01-2010 7:05 AM. Topic has 4 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
02-01-2010, 7:05 AM
|
arsamyvel
Joined on 12-04-2009
Posts 10
|
Page Canvas not drawing some text boxes in another machine
|
|
|
|
|
Helo,
I'm facing problem when drawing text boxes/check box in another machine. It works fine in the current system i work.
Any help please.
Best regards,
Samyvel
|
|
|
|
|
Report
|
|
|
|
02-01-2010, 7:45 AM
|
PrantikS
Joined on 12-11-2008
Posts 1,550

|
Re: Page Canvas not drawing some text boxes in another machine
|
|
|
|
|
Hello,
Could you send the code that you use to draw the controls that works fine in your machine but not on the other?
Regards, Prantik
|
|
|
|
|
Report
|
|
|
|
02-01-2010, 7:48 AM
|
arsamyvel
Joined on 12-04-2009
Posts 10
|
Re: Page Canvas not drawing some text boxes in another machine
|
|
|
|
|
Hi,
Below is the code....
Case 1, 2, 14, 16, 17 'TextBox, RichText, MaskEdit, DropDownList, DropDownCombo
arCanvas.DrawRect lngLeft, (lngTop + 90), lngWidth, (lngHeight - 75)
txo.WriteLine (vbTab & "Datetypeid - " & !DataTypeId & vbTab & " Fieldtag - " & flds("fieldtag") & String(75 - Len(flds("fieldtag")), " ") & "arCanvas.DrawRect " & lngLeft & ", " & (lngTop + 90) & ", " & lngWidth & ", " & (lngHeight - 75))
|
|
|
|
|
Report
|
|
|
|
02-01-2010, 11:11 AM
|
PrantikS
Joined on 12-11-2008
Posts 1,550

|
Re: Page Canvas not drawing some text boxes in another machine
|
|
|
|
|
Samyvel,
What is the “txo.WriteLine” method that you are using? Please take into consideration that the measurements in ActiveReports for VB6 are done in twips (1/1440 of an inch).Try commenting out the txo.WriteLine method to check if the rectangle is drawn or not. Also can you create a small sample application to describe the issue as I was able to use the draw Rectangle without any issues?
Regards, Prantik
|
|
|
|
|
Report
|
|
|
|
02-04-2010, 6:31 AM
|
arsamyvel
Joined on 12-04-2009
Posts 10
|
Re: Page Canvas not drawing some text boxes in another machine
|
|
|
|
|
Thanks a lot. I fix the problem. The problem was with the query.
|
|
|
|
|
Report
|
|
|
|
|
GrapeCity » Product Support » ActiveReports 2... » Page Canvas not drawing some text boxes in another machine
|
|
|
|
|