Il sabato 20 giugno 2009 15:24:02 kobolds ha scritto:
> i wish that the text on the button auto wrap if too long not cut off like
> right now. how do i do that

Use a shorter text ;-)

I think you can't, but you can easily resize the button.

DIM iButton1TextWidth AS Integer
 
  iButton1TextWidth = Button1.Font.Width("my very long text")
  Button1.Width = iButton1TextWidth + 20
  Button1.Text = "my very long text"

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to