assign text to text object through vb code

hai

how can i assign text to text object through vb code.


i tried using findobject() but it shows error.

please tell me how to do it.

thanks.

Comments

  • edited 5:06AM
    Hi,

    You can use this code:
    Dim text As New TextObject
    text = report.FindObject("Text1")
    text.Text = "New text!"
    
    To FindObject you should pass name of the object. May be you made a mistake in name.

    In case if it will not be helpfull, I need to know what error you get.
  • edited 5:06AM
    i want to load picture into TfrPictureView called picture1 at runtime , how to perfom that,

    i am using v2.47

    thanks

Leave a Comment