Rich Text Boxes (font) -
Hi all
I am trying for the life of me to get my RTB to display Bold font, I would also like to change size as well.
But the code gods are not favoring me today
VB Code:
Dim Fonter As StdFont
With Fonter 'I know this looks funny now but one I get this
.Bold = True 'working there will be more
End With
Set rtbInSum.Font = Fonter
TempHold = Format(InExtensionTotalInWrite).TotalCharge, "###,##0.00")
rtbInSum.Text = rtbInSum.Text & Chr$(32) & Chr$(32) & Chr$(32) & Chr$(32) & Chr$(32) & Chr$(32) & _
Trim(InExtensionTotal(InWrite).Extension) & Chr$(9) & Chr$(9) & Chr$(9) & Chr$(9) & Chr$(9) & Chr$(9) & _
Chr$(9) & Trim(InExtensionTotal(InWrite).Minutes) & Chr$(9) & Chr$(9) & Chr$(9) & Chr$(9) & Chr$(9) & _
Chr$(9) & "$" & Trim(TempHold) & Chr$(13) & Chr$(10)
When I run this it displays................nothing!
anyone have any Ideas?
Printing rich text and normal text together! -
I've got a form on which I have several text boxes and several rich text boxes. I want to print out a report with the text boxes and rich text boxes on the same page.
I've written a module which handles the text box side of things and performs all the font formatting, line-wrapping
Simple Rich Text Box Problem -
The Problem? I don't know how to set the font for the whole thing. If someone could give me a quick explanation of how to set all the options in a Common Dialog into a rich text box, I'd appreciate it.
Also, if you happen to know an easy way of making rich text boxes allow only the
Arrgghh - Where have my Rich Text Boxes gone! -
Wotcha, folks.
I've just loaded our office database into VB6 for a minor adjustment and ALL the rich text boxes have turned into picture boxes !!!
What went wrong ??
All my backups load in the same way - RTBs have turned into Picture Boxes, so the problem must be with the VB6
*Resolved - cheers guys! :)* Richtextbox angst -
Hello all,
I very very pissed off at rich text boxes right now and wondering if anyone could solve the issue.
I have text from one rich text box printing into another richtext box. Problem is, the text in rtb1 is italic and for some reason the italics dont carry over to rtb2, they
Merge Rich Text -
Hi
I want to merge the contents of two rich text boxes, formatting and all, like they do in MSN messenger and all, where you type your text in whatever font etc and it comes in the same font in the main chat window
Appi
Locking the font/size/style in rich text boxes -
Is there an easy way to force a single font on a rich text box so if someone pastes somehting in there it converts it back to the set font/size/style?
2 questions about Arabic fonts -
Hi,
I have a form with few text boxes and a Rich text box. I am trying to enter data in Arabic language. Windows have the language option whereby if you press Alt+Shift it switches between Arabic and English languages.
1. In the Rich Text Box Arabic just comes fine excep
Rich Text and Web -
I once found a project on this forum that had 2 rich text boxes, one at the top with a link and when the link gets clicked it displayes the page in the rich text box below. Anyone know what I'm talking about? If you do let me know I must have deleted it by accident. Thanks.
Check Boxes!!! -
Damn this is probably really easy to all of you, but im a beginner.
Now, I have three check boxes one for italics, one for bold and one for underline and i have a rich text box. How would i change all the text in the rich text box depending on which check box i click?(without having t
Printer Font List - Illustrated -
I have a list box with all of the printer fonts. I want to save every font to the same rtf or txt file...
BUT...
I want each font to say it's name on the document and for it's name to be written in the style of that font...
eg.
SNAP ITC will be in the SNAP ITC font
ARIAL will be i
using a rich text box (looking for info) -
i am using a rich text box to format records from a database into a report. i have connected to the db and loaded the rtb, but now i am trying to find out how i can format it properly. can anyone direct me to a good source of info on rich text boxes?
thanks in advance
Width & Height of Rich Text -
Hello all. I'm trying to find the width/height of single lines of rich text from a single-line RTB. This information will be used to center lines of rich text on a printed form. I've made a little app to test it out, and I've found that TextWidth() and TextHeight() do not work prope
Scrolling 2 rich text boxes at once -
Hello,
I was wondering if anyone could tell me how to make it so that whe one rich text box is scrolled by the user, the one next to it scrolls the same amount?
What I'm trying to do is add line numbers to my app. It works right now, except when the main window is scrolled the nu
Rich Text Box Autoscroll -
I have 3 rich text boxes in a form, no scroll bars. 3 seconds after the form loads, I want all the boxes to smoothly scroll down to the bottom at the same speed. How do I do this?
Rich text boxes -
Can you put page breaks in rich text boxes. If not how can you handle a page break in a text editor.
Thanks
Checking for validation -
Hello.
I am making a program to help people with HTML. I.e. They fill out areas such as (combo boxes for background, text, link colors, etc. Text boxes for their email address, etc.)
What I needed to know how to do was the following:
1. Check to make sure all fields have been fi
SOS! Smooth scrolling in rich txtbox -
I have to use the control instead of regular text boxes due to the fact that the fields need to store a lot of data. It's single line and therefore needs smooth scrolling in order to be edited easily. Rich text boxes sort of make these jumps instead of just scrolling and it complicate
add rich text to rich text box -
Hi does any one know how i can add more rich text to the end of the text in a rich text box.
RichTextBox1.Rtf = RichTextBox1.Rtf & strMoreRichText
did not work. I suppose this may be because of some kind of ending tag in the rich text.
Does any one with some knolege of th
Rich Text Box - upgrading version -
(Couldn't think of a handy subject line there)
I have a few machines around here, from nt4 to windows 2000 professional. The older ones don't like printing tables from within rich text boxes. The newers ones do. I`ve copied the rich text box from a more recent machine and regsvr32'd
RichText Format -
Hi guys,
I'm gonna proceed with my app and now i bump into another problem, suppose i want to transfer a rich text format to another person, now as you see a rich text format would consist of font type, different size of the text, it's characteristics (bold,italic, underlined), but
Rich Text Box Highlighting -
Okay, maybe some of you read my thread in chit-chat, maybe some of you didn't, but I've decided to start the program now and realized I know a lot less about rich text boxes than I thought I did. Is there a way to change the background color of certain numbers, or even just make them b
How to detect cursor location and insert text -
If I have a rich text box on a form, that is filled with say 30 lines of text the user has inserted. Is there a way I can detect where the cursor is in that text and insert some pre-defined text at its location on a button click? For example:
"This is some text in a rich text b
quicki with rich text boxes -
how do you append text to the bottom of a rich text box regardless of where the cursor is.
embedding images into rich text boxes -
i am wondering if there is a way to embed graphics or images of some sort into a rich text box. if not, is there a way to embed a graphic into an OLE object and place the OLE object into a rich text box. i am trying to create the happy faces like in America Online's Instant Messenger
[2005] Rich Text Box and font questions -
The font question is the first one... I'm writing a program that takes the entered text and writes it into a text box using every font the computer has installed. The question here is, how can I cycle through every font without knowing its' name?
The second question is the one of in
[2005] Loop Exception -
Basically this loops through the rich text boxes on my form, and works, however it will not work if anything BUT rich text boxes on the form, as an exception occurs that the alien object cannot cast to the rich text box.
Help appreciated
Code:
For Each Cntrl As RichTextBox i
saving txt in rich text boxes -
How do you save plain text in a rich text box?
Really need some HELP!!! -
Hi everybody!
Here are my problems :
1. I have to create a project looks like Microsoft Word.
2. I created a form using Rich textbox control. This rich textbox only support basic text editing but what I want is something more advance that can do or draw a table,boxs and etc.
3.
Scrolling a rich text box -
I usually use text boxes and I have no problems scrolling to the bottom of them, I just say
VB Code:
Me.txtReadings.Select(txtReadings.Text.Length, 0) Me.txtReadings.ScrollToCaret()
but this doesn't work with rich text boxes fo
[02/03] Paste info into Rich textbox -
Hi people, I know this is going to sound like a really stupid question but is there a way where if I paste text into my richtextbox that the size/layout of the textbox is the same as the text that has been set in the properties.
For example if I copy and paste some text from my emai
Multiple Rich Text Boxes in Outlook -
Hi,
When designing a form Message in Outlook, how can i get the Text box to be in Rich Text Format, Or be able to display Hyperlinks?
How to copy Rich Text Box Text exactly in Picture Box Help -
Hello, please help me , I am working on a Custom Web Control and I need some help.
How to print the exact text from a rich text box to a picture box?
I have tried it and i had some problems.
1) There are no paragraphs(as rich text box has)
2) There is no left , center , right
Tooltip, hand cursor in rich text box -
Good day,
Using a rich text box, I select certain words that I recolor to blue and underline, to give the "hyperlink" appearance. A sample text might appear as follows:
Last week, Smith taught Jones how to program in VB6.
Now for the highlighted text, I would lik
Rich Text Box without OCX... -
Is it possible to have the wonderful benefits of the Rich Text Box without the fascism of Microsoft's OCX? I am making a Notepad sort of thing with text high-lighting and IntelliSense (big target then)... I'd like to know whether the rich Text Box is the best choice for the main text a
rich text box change font color -
I have a sub that reads in and changes the selcolor of a rich text box.
The code executes fine and if i run the code and then write in the rich text box the text is the color set by the selcolor but if i click on a button i have set up that simply enters some text into the rich text
Rich text in a datagrid -
I need to display rich text in a datagrid.
Is it possible to add rick text boxes to a grid?
Any Ideas?
Thanks,
cruzmsl
Rich text to Image -
Dear Fellows,
Do you know how I can convert a rich text document to an image file (either format). The image should contain all the format used in rich text ie font style, font name etc.
vb 2005, implementing search within a rich text box -
I am trying to implement some sort of search algorithim in my VB 2005 program where I import a text file into a rich text box and then search for some specific strings and then ouput another file with the specific string findings and add comments for each one. This should probably be d
Rich Text Box: Just Text -
Okay, here's the thing. I'm using a Rich Text Box Control to wuss out on the heavy coding Undo, Find and Replace require. But I want it to appear to be a normal texbox. Problem is, if they past anything that's not text in there (a picture for example) a little icon-deal shows up.
My
Rich Text Boxes and SpreadSheets -
Background:
I am trying to create a "template" document simular to a database report. It has some text at the top and would like to place a spread sheet at the bottum. All this is automatic setup by a preset options.
All I really need to know is how to place a OLE into