QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I get the TRichEdit to scroll to the bottom of the text when new lines are added?

Yet Another Code Site - FAQs
To scroll to the bottom of the text in the component, move the selection to the bottom and then tell the TRichEdit to scroll to the caret like so: RichEdit1->SelLength = 0; RichEdit1->SelStart = RichEdit1->GetTextLen(); ::SendMessage(RichEdit1->Handle, EM_SCROLLCARET, 0, 0); If that does not work, you may need to add code to ensure that the Rich Edit control has focus.

How do I save and restore the current scroll position in a TRichEdit component?

Yet Another Code Site - FAQs
First, a brief description of the problem: Assume that you are writing a chat room program. As new messages are a posted in the chat room, you want to append them to the text in the control. However, to do this, you must position the caret at the bottom of the text and then insert the text. Finally, you need to restore the original caret position (easy) and scroll back such that the top line displayed is the same one as before inserting the text (not so easy). See similar questions...

Why are lines added to some of my posted journals?

GL FAQs
This occurs to support U.Va.'s authorized practice of depositing state and local money to local bank accounts. These additional lines are prompted in GL by debit and credit lines that show an Entity value of "UVA Local" in one and "UVA State" in the other. After posting, the system adds lines to a deposit journal entry that keeps track of how much money must be debited or credited to the appropriate state accounts. See similar questions...

HOW MUCH SPACE/ HOW MANY LINES OF TEXT DO I GET?

FAQ's
keep in mind the more text you include the smaller the type face will become. typically, a verse, poem, phrase or message of about 6-8 short lines (about 4 words/line)will work nicely... "may the Lord bless you and keep you"... "all good and perfect things come from above" James 1:17..."congratulations on your wedding. may God continue to bless your union for all the days of your lives together" love, bryan, valerie, brandyn and coltyn myers See similar questions...

How can I scroll back in the text window?

Share Chat - FAQ
Increase the number of screen lines: the command "/lines" determines the number of lines before a screen refresh occurs. A value of 150 is a good starting point, if you want to scroll back. See similar questions...

How do I get new lights added?

LSU/OFS: FAQs
Please call the Director of Energy Services to report the problem. Dark areas will be examined, and lighting will be improved if warranted. See similar questions...

I Have A Suggestion For A New Provider To Be Added?

Frequently Asked Questions (FAQs)...
For a new provider to be added, we usually require that it's top for at least one destination or call type, it should also be an instant access provider (i.e. not Carrier Pre-Select where all your calls are routed through). If you could let us know for which country or type of call it comes top we will add it to the database. To do this, e-mail: newcallprovider@moneysavingexpert.com detailing what countries/call types the new provider is cheapest for. See similar questions...

How do I trap double-clicks on a TRichEdit?

Yet Another Code Site - FAQs
Remy Lebeau (Gambit) offered the following solution in a C++ Builder forum. Simply publish the unpublished OnDblClick event like so: class PACKAGE TMyRichEdit : public TRichEdit { public: __fastcall TMyRichEdit(TComponent* Owner); __published: __property OnDblClick; }; __fastcall TMyRichEdit::TMyRichEdit(TComponent* Owner) : TRichEdit(Owner) { } void __fastcall TForm1::MyRichEditDblClick(TObject* Sender) { ShowMessage("double-clicked"); } See similar questions...

Why does less scroll off the screen if there are long lines?

LESS
If you see data scroll off the screen when you view lines longer than the screen width, something is wrong. There are two likely possibilities. First, you may be using the -r option (either explicitly or in your LESS environment variable). The man page states that the -r option may cause display problems (see Why does -r cause display problems? for more details). See similar questions...

Why don't the lines in your text files end at the edge of the screen?

frequently and not-frequently asked questions
Because my desktop resolution is 1600 x 1200, and if yours is smaller, some lines are going to extend past the length of the screen. First of all, I'm not going to change my resolution. I find that at this resolution, I can almost always keep one bubble of dialogue or thought within the length of one line, although occasionally they will go over. If it's such a bother to you, you can always try loading the files in a text editor and wrapping the lines. See similar questions...

Why does the cell text show up with "square" characters where they should be new lines?

DataGridView - Windows Forms FAQs
By default, text in a DataGridViewTextBoxCell does not wrap. This can be controlled via the WrapMode property on the cell style (e.g. DataGridView.DefaultCellStyle.WrapMode). Because text doesn't wrap, new line characters in the text do not apply... See similar questions...

How many org lines can be added per batch (especially useful info for isp type folks)?

FM FAQs
If a PI/faculty member uses a PTAO card at the Bookstore or Cavalier Computers, for example, to get office supplies (or some other expenditure), and the item (expenditure type) they purchase is NOT allowed on that PTAO, will it be known immediately at the time of purchase, or will they be able to charge the item, walk away with it, and the charge and/or batch will be rejected later? (Or will the charge have to be moved by Org - departmental fiscal staff later?) See similar questions...

How much new water will be added to the oceans of the earth?

Iceberg FAQ's
The back of the envelope calculation shows that there is about 1,000 trillion gallons of water in this iceberg, but it's not "new." It's been in the hydrological cycle. The iceberg contains sufficient water to provide 5 inches of water for the agricultural land of the earth or about 0.5 inches on the land area of the earth. See similar questions...

How can I find out when new content that interests me is added to Associated Content?

Frequently Asked Questions - Associated Content
If you have a My Yahoo, My MSN, My AOL or another webpage that accepts RSS feeds, you can set up a free RSS feed of AC content. You can choose to get a feed of either recently published, top-rated, or most-emailed content in the category of your choice. If you enjoy viewing a specific Content Producer's work, go to their page (accessible by clicking on their byline) and sign up for their RSS feed by clicking on this icon. See similar questions...

Why all the empty space when I scroll to the bottom?

MT-NW Manual: Frequently Asked Questions
I'd like to report an error in MT-NewsWatcher. When I scroll to the bottom of a window, usually there's lots of extra white space at the bottom of the window. You've been playing with the preferences again, haven't you? You must have turned on the Scroll by whole pages preference. This is a feature. When you scroll down by a page, MT-NewsWatcher always makes the previous bottom line in the window the new top line in the window, even at the end of the text or list. See similar questions...

How many lines of text can I use?

Seton.com - Help - FAQ's - Answers
If you choose to have numbering and/or bar codes on your tags, you can have up to 3 printed lines of text above the number box. If you choose no numbering or bar code, you can have up to 5 lines of text. See similar questions...

Why do my prints have lines through text or images?

Frequently asked questions like, How do, Why does, How can I...
This is something that usually happens when (a) you replace an empty cartridge with a full one. (b) you have not used your printer for a few days. It is usually due to either clogs in the tiny print nozzles or air trapped between the print nozzles and the new flow of ink from the cartridge. See similar questions...

How many lines of text can I have on my label?

Seton.com - Help - FAQ's - Answers
This depends on what size label you are designing. Most of the label sizes can accommodate up to 5 lines. The smaller sizes will only allow 3 or 4 lines. See similar questions...

Explore Other Topics

Where can I find the latest version?
Can I change my Xbox Live GamerTag?
What is music piracy?
How do I burn a Pillar candle to avoid a crater forming in the center?
How do I replace the radiator?
What type of CDs do I use if I want to burn a disc?
Can I use an ATM card with my HSBC Direct Online Savings Account?
What different types of pulleys and hoists are used, and why?
What kinds of countertops are available?
What size tires and rims can I put on my stock 914?
Why does the penny tarnish?
Why should I use both the Wrinkle Serum and the Facial Moisturizer?
How do I apply for a police officer or firefighter position?
How does Lab128 compare to Oracle Enterprise Manager 10g (OEM)?
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact