edit on preview form, but the print result is not same...

edited 5:37AM in FastReport .NET
i want to change the print value on the preview form.
        private void TxtObj_Click(object sender, EventArgs e)
        {
            TextObject curTextObject = sender as TextObject;
            if (curTextObject == null) return;

            curTextObject.InvokeEditor();
            curTextObject.SaveState();
            curTextObject.SaveStyle();
            InitModel.report.Preview.Refresh();
        }

when i close the editor form, the preview control display the right result. that's what i want.
but the print result don't change anymore...

>>

Comments

  • edited 5:37AM
    i known the frx designer on the preview form can make it,
    but it's too complex...
    what can i do?
    vision wrote: »
    i want to change the print value on the preview form.
            private void TxtObj_Click(object sender, EventArgs e)
            {
                TextObject curTextObject = sender as TextObject;
                if (curTextObject == null) return;
    
                curTextObject.InvokeEditor();
                curTextObject.SaveState();
                curTextObject.SaveStyle();
                InitModel.report.Preview.Refresh();
            }
    

    when i close the editor form, the preview control display the right result. that's what i want.
    but the print result don't change anymore...

    >>

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.