Results 1 to 2 of 2

Thread: set BoxObject position from code

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2005
    Location
    Macedonia
    Posts
    49

    Exclamation set BoxObject position from code

    hi ppls
    can somebody tell me how to set BoxObject or TextObject position in crystal report from the code
    I try something like this
    Dim cet As New CrystalReport4
    Dim SampleReportText1 As CrystalDecisions.CrystalReports.Engine.BoxObject = CType(cet.ReportDefinition.ReportObjects.Item("Box1"), CrystalDecisions.CrystalReports.Engine.BoxObject)
    SampleReportText1.Top = 100

    but i get some error: Invalid object type

    Thanks for your time

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: set BoxObject position from code

    Are you using VB.NET?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width