locked
msgbox, make a word bold RRS feed

  • Question

  • I have a message box and i want to make a single word bold. On the line belowe I want  "phonestring" to be bold, is this possible?

     The code that I have is:

    MsgBox("You did not enter a correct phone number Please Enter either 10 or 7 digits only." & Environment.NewLine & "You Entered: " & phonestring & "", , "WRONG PHONE LENGTH ERROR")

    Tuesday, December 5, 2006 7:33 PM

Answers

  • The standard system messagebox doesnt support this as standard behaviour. 

    You can always create your own form and split the message into a couple of different labels which would allow individual parts to be formatted differently or use some other control such as a richtextbox control on a form which would enable more specific formatting to take place.

     

    Tuesday, December 5, 2006 7:46 PM

All replies

  • The standard system messagebox doesnt support this as standard behaviour. 

    You can always create your own form and split the message into a couple of different labels which would allow individual parts to be formatted differently or use some other control such as a richtextbox control on a form which would enable more specific formatting to take place.

     

    Tuesday, December 5, 2006 7:46 PM
  • thanks
    Tuesday, December 5, 2006 11:13 PM