Hi,
I've created a DBRichViewEdit and created a button name "List" that when click insert a bullet list into the DBRichViewEdit as showned in the "Editor 1" example of the demos.
It is working perfectly in my application except that as soon as the first bullet list is inserted the caret disapear.
I've tried to found in the demo if an option was set but couldn't find one.
What can make the caret disapear?
Thanks!
Helene
Caret disapear after inserting list bullet
-
- Posts: 16
- Joined: Wed Aug 26, 2009 7:58 pm
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
What's the type of your button for applying lists? If it is TButton or TBitBtn, this button acquires the input focus after your click it. The editor is not focused, so the caret is not shown.
Solution: either use buttons that cannot receive focus (toolbar button or TSpeedButton, for example), or call DBRichViewEdit1.SetFocus after applying lists.
Solution: either use buttons that cannot receive focus (toolbar button or TSpeedButton, for example), or call DBRichViewEdit1.SetFocus after applying lists.