Button Text Question

  • Thread starter Thread starter Greg
  • Start date Start date
Opps, I pressed something that submitted the post.

Anyway I want my button to read:

Yes
(option will
recalculate)

By the way, this application is replacing previous
application and they want the same button text.

The \n does not work, and if I use spaces it does not
look the same in XP vs Win2000. Anyone know how to do
this?

Thanks,
Greg
 
Greg said:
Anyway I want my button to read:

Yes
(option will
recalculate)

Not too bad; just go into the form code, find the line where it sets
Button.Text, and change it to something like (in VB):

Button1.Text = "Yes" & Environment.NewLine & "(option will recalculate)"

The Text value will look funny in the form designer's PropertyGrid, but
it'll work and look fine.

Jeremy
 
Oh you're good.

Thanks,
Greg
-----Original Message-----


Not too bad; just go into the form code, find the line where it sets
Button.Text, and change it to something like (in VB):

Button1.Text = "Yes" & Environment.NewLine & "(option will recalculate)"

The Text value will look funny in the form designer's PropertyGrid, but
it'll work and look fine.

Jeremy

.
 
Back
Top