16 6483 tlhintoq 3,525
Recognized Expert Specialist @MarwaAlSagheer
Wait... Maybe I missed this before.
Are you saying that you have the Form on-screen, text in the RichTextBox is shifted to the left... but when you click on the RickTextBox suddenly all of the text jumps to the right? Is that what you mean by "The white space dissappears"?
yeeeeeeeeeeeeee s , yes Mr.tlhintoq
This what I was say it from first :)
Do you have solution for this crazy richtextbox
tlhintoq 3,525
Recognized Expert Specialist
Do you have a method attached to the .Focus, or .Click events?
No there is no method attached to the .Focus or click , and i was trying raise mouse click event , mouse down , click and other events before showing form and none of them solve problem .
tlhintoq 3,525
Recognized Expert Specialist
At this point I'm stumped. I can't duplicate the problem in my attempts. I can only guess it is some odd behavior that is maybe caused by how the control handles right-justified languages. Maybe the control only works out spacing and justification for such languages after display?
Have you tried your project on an OS/language/configuration where "right to left" text was off, English, left justified?
What if you .Show() the form, but keep the RichTextBox as .Visible=False until the text is complete then change the control's visible state to true?
Firstly, trying to deal with right-to-left languages may cause practical problems, You've to check if this problem happens even if you typed all code file and contents of textBox in left-to-right ! according to drag and drop, did you change the textBox's TextAlign property from left-to-right to right-to-left ?
the standard break point/new line character is to '\r\n' not '\n' when you deal with text, using '\n' wont appears new lines with copy/past.
Only suggestion, line 2
reposition the double \t to be before the Arabic literal.
I think that typing right-to-left in code file will turn the typed-line around in Visual Studio Editor, I tried it before.
Ohhhhhhhhhhhhhh h My God
Finally it solve
As you Say Mr.tlhintoq
Keep the RichTextBox as .Visible=False until the text is complete then change the control's visible state to true .
Thannnnnnnnnnnn x Alooooooooooooo ot Mr.tlhintoq
Really thank you.
I am very pleased.
But do have any logic interpretation for this problem and its solution .
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Alfredo Agosti |
last post by:
Hi folks,
I have an Access 2000 db with a memo field.
Into the memo field I put text with bold attributes, URL etc etc
What I need to to is converting the rich text contained into the memo
field in plain text.
That's because I truncate the string text but if, when I truncate it
there's a rich tag the code following the truncated string is corrupted.
Don't know if it's clear enough.
|
by: PC User |
last post by:
I found this Rich Text Editor and I've been trying to recreate it in
my own application. I've had trouble with the COMCTL.ImageListCtrl
and the COMCTL.Toolbar to recreate the toolbar. And I've had trouble
with COMCTL.SBarCtrl in recreating the status bar. Does anyone have
any experience with these or know of any website that explaines how to
use these?
http://www.access-programmers.co.uk/forums/attachment.php?attachmentid=5545
...
|
by: Peter |
last post by:
I have written a small terminal app that reads and writes to the serial port. In particular as the data is read from the serial port it is appended to the rich text box. The problem I am experiencing is this:
When CrLf is received in the same read and appended to the rich text box, it processes it by moving to the beginning of the next line. This is right.
When Cr is received at the end of one read it is appended to the rich text box....
|
by: ray well |
last post by:
hi,
my app has two parallel rich text boxes containing the same content in 2
different languages. the lines parallel each other, line #3 in english
contains the same content as line #3 in french.
i need the two boxes to syncronize, if someone scrolls and clicks on line 23
in the english side, it should scroll to line 23 in the french side, and the
same from french to english.
|
by: tomi.trescak |
last post by:
Hi
I have a problem with storing rich text in MySQL.
I store rich text in MySQL (in column with type "text") which i get
from Rich Textbox control. When i do reverse processing by trying to
fill rich text back to rich techbox (i set correct property "Rtf") i
get whole text like:
{
tf1ansiansicpg1250deff0deflang1029{fonttbl{f0fnilfcharset0
| |
by: Neil |
last post by:
I need to implement a rich text box in an MDB file for a user base that
consists of Access 2000 and Access 2002. Unfortunately, I'm using Access
2003 on my development machine. My understanding is that because of security
issues, the Microsoft Rich Textbox Control doesn't work in Access 2003.
Thus, I'm left with 3 options:
1) Downgrade my development machine to Access 2002 (if I could even find a
copy somewhere).
2) Upgrade all...
|
by: ARC |
last post by:
Just found out something interesting with Access 2007... In table design, if
you set a memo field to the new rich text option, and put that control on a
form, set the control to rich text, you can only use the text formatting
menus IF the control is on a parent form! If the control is placed on a form
that is a subform, the mini format toolbar, and the access toolbar will not
work!
However, if you place the control on a self-contained...
|
by: Neil |
last post by:
Just found out that the Microsoft Rich Textbox does not support full text
justification, since it's based on Version 1.0 of the RichEdit Window Class,
and full text justification is only available in versions 3.0 or later of
the class.
However, also just found out that the new Rich Text property in Access 2007
ALSO does not support full text justification! This seems incredible, that
MS would create a brand new application, and not...
|
by: Neil |
last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text
feature does not support: a) full text justification; b) programmatic
manipulation.
I was hoping that someone might know one way or the other whether that was
true or not, or could point me to an article or help text that would. What I
have seen so far online and in Access 2007 help seems to confirm the above.
But that (or at least (b)) seems incredible that it...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |