PrintPreviewDialog

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • max

    #1

    PrintPreviewDialog

    How do you get a Cancel button on a PrintPreviewDia log object???

    Thanks
    --max
  • Herfried K. Wagner [MVP]

    #2
    Re: PrintPreviewDia log

    <max> schrieb:[color=blue]
    > How do you get a Cancel button on a PrintPreviewDia log object???[/color]

    The dialog actually has a "Close" button embedded in its toolbar.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    • max

      #3
      Re: PrintPreviewDia log

      So does that mean I can look for "Close" and if the user hits the X in
      the upper right corner that's like Cancel???

      Thanks
      --max

      On Mon, 15 Aug 2005 01:35:08 +0200, "Herfried K. Wagner [MVP]"
      <hirf-spam-me-here@gmx.at> wrote:
      [color=blue]
      ><max> schrieb:[color=green]
      >> How do you get a Cancel button on a PrintPreviewDia log object???[/color]
      >
      >The dialog actually has a "Close" button embedded in its toolbar.[/color]

      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: PrintPreviewDia log

        <max> schrieb:[color=blue]
        > So does that mean I can look for "Close" and if the user hits the X in
        > the upper right corner that's like Cancel???[/color]

        Yes, pressing the "Close" button returns 'DialogResult.C ancel' too.

        --
        M S Herfried K. Wagner
        M V P <URL:http://dotnet.mvps.org/>
        V B <URL:http://classicvb.org/petition/>

        Comment

        • max

          #5
          Re: PrintPreviewDia log

          Thanks
          --max

          On Mon, 15 Aug 2005 12:29:40 +0200, "Herfried K. Wagner [MVP]"
          <hirf-spam-me-here@gmx.at> wrote:
          [color=blue]
          ><max> schrieb:[color=green]
          >> So does that mean I can look for "Close" and if the user hits the X in
          >> the upper right corner that's like Cancel???[/color]
          >
          >Yes, pressing the "Close" button returns 'DialogResult.C ancel' too.[/color]

          Comment

          Working...