Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9032817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T08:04:25+00:00 2026-06-16T08:04:25+00:00

Possible Duplicate: Components Inside Textbox/RichTextbox in DotNet I have a textbox inside of my

  • 0

Possible Duplicate:
Components Inside Textbox/RichTextbox in DotNet

I have a textbox inside of my RichTextbox control. (The texboxt contains certain expressions that cannot otherwise be done in richtextbox itself.) I am having trouble focusing/navigating into the element when the caret is adjacent to the object. The caret is just skipping over the object. Is there any way to notice the object and focus on to it (in this case focus into the textbox)?

Actually, I should be more specific, the ‘textbox’ is actually a UserControl that can contain multiple texboxes and other symbols so it’s not just a simple wpf ‘textbox’. But essentially it behaves like a textbox.

Thanks.

        <RichTextBox Name="rtb" Grid.Row="1" >
        <ed:EnabledFlowDoc x:Name="efdMath" TextBlock.BaselineOffset="-10"
                           FontFamily="Palatino Linotype">
            <Paragraph TextBlock.BaselineOffset="10" TextInput="Paragraph_TextInput_1">
                Text . . .
                <InlineUIContainer BaselineAlignment="Center">
                    <TextBox />
                </InlineUIContainer>
                <InlineUIContainer BaselineAlignment="Center">
                    <TextBox />
                </InlineUIContainer>

            </Paragraph>
        </ed:EnabledFlowDoc>
    </RichTextBox>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T08:04:25+00:00Added an answer on June 16, 2026 at 8:04 am

    The function I was looking for is this . . .

    RichTextBox.CaretPosition.GetAdjacentElement(LogicalDirection Direction)
    

    for more information, look at my newer post since i cannot delete this old post . . .

    Components Inside Textbox/RichTextbox in DotNet

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Can’t create handler inside thread that has not called Looper.prepare() inside AsyncTask
Possible Duplicate: Duplicating components at Run-Time I have a TMyControl ( Control1 ) with
Possible Duplicate: Submit Login control button when I hit Enter I have a Login.aspx
Possible Duplicate: What Web Application Framework for Delphi is recommended? We have a Delphi
Possible Duplicate: Adding multiple JProgressBar to TableColumn of JTable i have a jTable with
Possible Duplicate: Smart Gwt components are not rendered in html div tag My problem
Possible Duplicate: Python: Finding corresponding indices for an intersection of two lists I have
Possible Duplicate: Matrix Transpose in Python I have a matrix, say A = [[0,0],[1,1]]
Possible Duplicate: UIScrollView pauses NSTimer until scrolling finishes I have a scrollview and a
Possible Duplicate: Most Useful Attributes in C# I always feel that I am missing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.