Results 1 to 4 of 4

Thread: rich text box question,

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    Virginia Beach
    Posts
    66

    Question

    I have a text box that the results of a search engine are added to. The date is added to the textbox first, then the 1st keyword, then the 2nd keyword, then the URL, and a blurb containing both keywords, then the next url and blurb etc. until the 2nd keyword changes, then until the first keyword changes (might be several since they can choose Search All from the combo box of keywords). Everytime the 1st keyword changes they want to start on a new page, so the reports can be printed and kept seperate. Before adding the next 1st keyword I want to specify a new page, does anyone know how to do this?

    thanks
    Cady


  2. #2
    Guest
    You could put some sort of marking in the RichTextBox (For example -==-). Before it is printed, you could scan the text for -==- and whenevr that is found, set the printer to print a new page.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    Virginia Beach
    Posts
    66
    what is (-==-)? Or by marker do you mean something that doesn't have a specific meaning? I would put this before the new keyword(1st) and then do an instr and when it is found then I set the new page? If this is what you mean can you tell me how to set the printer to a new page? Thanks Megatron.
    Cady

  4. #4
    Guest
    Yes, that's what I meant.

    Regarding the page bit, to start a new page in the printer, all you have to do is type Printer.NewPage


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