מערבולת ים
New member
C# - GetPositionFromCharIndex
שלום לכולם אני מנסה לאתר מיקום הסמן של המקלדת בתיבת טקסט. אני רושמת לו:
כל סיוע יתקבל בברכה ותודה!
תודה ויום נפלא
Point p; p.x=richTextBox1.GetCharIndexFromPosition(richTextBox1.text.Length-1);
ומקבלת הודעת שגיאה:E:\C#\Form1.cs(993): 'System.Drawing.Point.x' is inaccessible due to its protection level