How to turn off frame

I'm using CBuilder XE & Fast Reports 4. I have looked though this forum & found this subject discussed before. But the answer isn't very clear. There is no ftnone option for frame.typ. Can someone show me some code for this?

Comments

  • gpigpi
    edited 12:19PM
    memo1->Frame->Typ = 0;
  • edited 12:19PM
    gpi wrote: »
    memo1->Frame->Typ = 0;

    Thanks for the answer but it doesn't work. And the format is Memo1.Frame.Typ. I have tried it this way also:
    Memo1.Frame.Typ = Memo1.Frame.Typ >> ftLeft
    which doesn't work either.

    This works for turning off the Bold:
    Memo1.Font.Style = Memo1.Font.Style >> fsBold;
  • gpigpi
    edited 12:19PM
    wrote:
    Thanks for the answer but it doesn't work
    No. Its works. See attach
  • edited 12:19PM
    OK, I stand corrected. I assumed that the frame was the same for a memo & a page. I was testing with page. How do you turn off the frame on a page? Some people using my app don't want to print the frame & some do.
  • gpigpi
    edited 12:19PM
    Use in main script procedure
    {
      Page1.Frame.Typ = 0;  
    }
    
  • edited 12:19PM
    Sorry but that doesn't work. I think I will give up on using a frame on the page & just put a rectangle around the page. That I can turn off & on via variables & code.
  • gordkgordk St.Catherines On. Canada.
    edited 12:19PM
    it works i would suspect you are trying to use it in the wrong event.
  • gpigpi
    edited 12:19PM
    See attach
  • edited 12:19PM
    OK, now I have my head back on my shoulders & out of the dark place!! ;-) It really does work. Thanks for all of the help!!

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.