Wrap text around image in rich textbox control - image

Ok, basically i have a vb6 app and i want to wrap the text in a rich text box around an image i have inserted into the rich text box from the clipboard. At the moment when you insert an image, the text does not wrap around the image...
let me know if you need a screenshot of what i am trying to explain.
Kind Regards,

C# version but you might be able to extrapolate:
http://www.codeproject.com/KB/edit/csexrichtextbox.aspx

Related

Can images be block-hilighted? (like text)

I'm trying to adapt ckeditor, where the content is not text, but images only, where each image displays a character in the alphabet. (By creating an image from an off-screen canvas object)
Only problem is that users can't do block selections by dragging over them (like you would with text). Is this even possible in the contentEditble world? I was hoping that setting the draggable attribute to false for each tag would do it - but no dice :-(
Any ideas would be greatly appreciated.
Thanks!
Yes:
I've copied the image in the demo and then I'm able to drag select all of them.
I guess that it might be harder to control the selection like you do with text.
I got this to work now. Just had to listen for mouse & key events and handle the selection manually.

How to display long content in wp7?

Project target on wp7.5 and above
I use a listbox to display detail information of a post in a forum.
I use a richtextbox to show the body of the post which is mixed by texts and pictures. I create a behavior and bind tje content to the RichTextBox.
But what tricks me is the RichTextBox can't display all the body. I check online, get to know the reason is the height limitations of the controls which height can not be more than 2048px.
I saw people recommend a article named The Scrollable TextBlock as a solution. But I found no way to implement this.
1 You can't put a ScrollView inside a richtextbox
2 Scrollable TextBlock only supports text, but what I want is a control which can hold both text, image.
3 can bind with text
How to solve the problem?
Just a suggestion you can use the webbrowser control in your application and for the text and images display you can generate the Run time HTML and pass to webbrowser.
you can get an idea to render your text in html form see this link
Hope it helps

WP7 wrap text around image

I have an image with a large amount of text to the right in a textblock control. How can I get that text to wrap on the right and below the image?
The standard TextBlock and Image controls wouldn't work for you.
I think you'd either:
have to use HTML inside a WebBrowser (this is potentially very slow and ugly!)
have to use multiple TextBlock's and you'd have to measure the text in order to implement the wrapping out yourself.
It might be an idea to consider a different layout - is the text really free flowing and needs wrapped around the image? Or can the text be split up into header, caption, body, etc?

Grow Images on Hover like Google Images

Hey everyone, I am trying to accomplish something with images growing on hover like the fancy grow mouseover effect on google images.
Here is what I have:
http://www.1stbusinessneeds.com/tooltip/tooltip.html
The tooltip is offset and is based on the walter zorn tooltip. What's the best way to have the mouseover popup grow out just like google images (with the text), instead of following the mouse?
(I still need it done with the same tooltip - maybe overwrite it, but it must be present to pass the text and image, it's just the positioning and display method of it that I need help creating, any samples would be appreciated)
You might want to look at JQuery.
this might be a good start http://jsfiddle.net/ZwhEu/

disable text selection in gwt

i am pretty new to GWT,
i have an image that i have placed a text on top, i need the text to look as part of the image.
i have used the image widget and the HTML widget to position it on top of it, i need this text to change according the locale.
the problem that the text is selectable, so it does not look right.
1) is there any way to make the text un-selectable?
2) is there a better way to achieve that?
thanks
This is handled by the user-select attribute.
See: http://www.tek-tips.com/viewthread.cfm?qid=1184318&page=1

Resources