Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Combining contents of diff. RichTextBox & Image Control into single RichTextBox


Message #1 by "Um Junk" <umjunk@h...> on Wed, 17 Oct 2001 23:20:05
I have a situation where I have 2 RichTextBoxes (eg. rtb1, rtb2) and 1 
Iamge Control (eg. img1) on an ActiveX Control that I am creating. It also 
has a tool-bar with some formating buttons (for RichTextBoxes). The user 
of this control can input some text in these RichTextBoxes and also select 
an image (.bmp/.jpg) in the Image Control (img1).

Now once the user does that and clicks on a 'Save' button on tool bar, 
what I would ideally like to do is to cobine the formatted text (from rtb1 
& rtb2) and Image (from img1) and put it in one single (hidden) 
RichTextBox (eg. rtbHidden). And important thing in doing this is to 
position the image and text side by side (ie. the image shud appear on 
left side and the text shud appear on the right-side of the image).

First of all is this (positioning of image & text) possible 
programatically? If yes, then how do I do it?

I would appreciate if NE1 can help me with this.

Thanks in advance

Um Junk

  Return to Index