• 0

[VB] How to make a text box bubble?


Question

Please take a look at the attached mock-up pic. It shows a speech bubble that is automatically being wrapped around a text Label. Does anyone know how I can do this?

The bubble is obviously being composed from nine smaller pieces. I could simply use a solid graphic for the bubble but since the Label text will be populated AND positioned randomly at runtime, I don?t know how big it will be, so the bubble will need to be some kind of wrapper.

I'm using VB 6.

Thanks

Ash

post-18640-1097604768.gif

Link to comment
https://www.neowin.net/forum/topic/229516-vb-how-to-make-a-text-box-bubble/
Share on other sites

7 answers to this question

Recommended Posts

  • 0

OK, this is what I've done so far using a simple transparent GIF for the point and a Shape Control for the bubble. However, this is something I wanted to avoid as the "Rounded Shape Control?s corners can vary in size and I wanted the point to remain at a certain level but when the bubble is too big, it looks like the second example in my screenshot.

post-18640-1097606369.gif

  • 0

Yeah there is no way around the corners. and positioning the point would have to be variable. Your only other others would be using a custom control, Me.pSet (Not advised), or something like this (http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20799428.html) which might be a bit involved

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.