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 1:04AM
    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 1:04AM
    i want to load picture into TfrPictureView called picture1 at runtime , how to perfom that,

    i am using v2.47

    thanks

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.