Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. MessageBox - Increae font size

MessageBox - Increae font size

Scheduled Pinned Locked Moved C#
helpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dubbele onzin
    wrote on last edited by
    #1

    Hi, I'm writing a mobile application and I have to use over-sized fonts and buttons so the user can use the touch-screen with fingers rather than stylus. When an error occurs I display a standard MessageBox which works fine but the button to close it is tiny and is placed on the title bar of the MessageBox. Is there any way of increasing the MessageBox font, or placing a large button on the MessageBox? Thanks :)

    M 1 Reply Last reply
    0
    • D dubbele onzin

      Hi, I'm writing a mobile application and I have to use over-sized fonts and buttons so the user can use the touch-screen with fingers rather than stylus. When an error occurs I display a standard MessageBox which works fine but the button to close it is tiny and is placed on the title bar of the MessageBox. Is there any way of increasing the MessageBox font, or placing a large button on the MessageBox? Thanks :)

      M Offline
      M Offline
      martin_hughes
      wrote on last edited by
      #2

      dubbele onzin wrote:

      Is there any way of increasing the MessageBox font, or placing a large button on the MessageBox?

      I don't think so, but you could easily create your own form to display errors and call that instead of MessageBox. Another trick I've seen used is not to bother with MessageBoxes at all and to have some kind of status pane/symbol/widget in your application to highlight errors.

      "On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't. "I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it." -Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups