BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 BCGControlBar Pro for MFC Forums
 BCGControlBar Bugs and Problems
 Bug in CBCGPEditCtrl with tab...
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  


10 Posts

Posted - 09/12/2008 :  07:27:35 AM  Show Profile  Reply with Quote
I'm not sure but may be already fixed this bug...
library BCGControlBarPro ver. 8.60.0000

The problem with cursor moving in CBCGPEditCtrl:
1. Run the BCGCBDotNetExample.exe (in \bin folder after installation BCGControlBarPro)
2. Go to main menu File-New-File (select and create new C++ file )
3. DotNetExample has opened in editor 'C++ Example file'.
4. Remove all content from this edit and set cursor in edit begin symbol place.
5. Press 'tab' key and write any word for example 'example1', and press 'Enter' key. (The cursor will placed on next line.)
6. Write any word for example 'example1', and press 'Enter' key.
7. Repeat few times step 6.
8. Save this file on disk and close this file.
9. Open this file. The file we can see in edit with text that we write on steps 5,6,7.
10. Put the edit cursor to first line of text and at first word "[in this]example1".
11. Press 'Down' key.
The cursor moves to the next string in a strange way (with tab offset!!! it's wrong - the cursor must be moved to next line at [in this]example1 ).
12. Press 'Down' key
Result: we have strange move again.
13. Press "Up" key - and also we have strange move a the edit cursor

Also this bug is reproduce if step 11,12 replace to mouse cursor try set to word 'example1' begin position - the result is the edit cursor set with tab offset!!!

NOTES: This is bug reproduced only if in editor loaded text file with 'tab' (0x09) symbols. And this is code in CBCGPEditCtrl that not allowed to be overwrite!!!

I'm check by history bug fixing for all grater version that BCGControlBarPro ver. 8.60.0000 - but i not find fix for this!!!


Sheila Moreira Souza

20 Posts

Posted - 10/03/2008 :  1:17:57 PM  Show Profile  Reply with Quote
I have just tested it using version 10.2 and the problem still occurs.

Sheila Moreira Souza
From Brazil
Go to Top of Page


3809 Posts

Posted - 10/09/2008 :  10:11:57 AM  Show Profile  Visit Support's Homepage  Reply with Quote

Thank you for the bug report and the detailed scenario.
This is the bug in the edit control. The bug still occurs in version 10.21 Pro. We will fix it in the next version.

If you need a hotfix please contact us via HelpDesk.

Sincerely yours,

BCGSoft Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft Forums © Copyright (c) 1998-2019 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000