[open-beos-printing] Re: Further PDF Writer Progress
- From: Michael Pfeiffer <michael.pfeiffer@xxxxxxxxx>
- To: open-beos-printing@xxxxxxxxxxxxx
- Date: Wed, 03 Apr 2002 19:31:38 +0000
>You cannot do this with BTextControl since the MakeFocus() method is
>not called for the class, since it does not have focus, the BTextView
>has the focus inside the BTextControl... this is the problem. The
>solution is to use a seperate BTextString as the label and a subclass
>of BTextView for the field where you override the MakeFocus() method.
>From there you can trap a change in focus event and send the parent
>view, your scroll view, to make the current BTextView visible by
>scrolling appropriately... :)
I have tried this already, but the problem is that the when the BTextView
has the focus hitting the tabulator key does not change the focus
but instead inserts a tabulator into the text of the BTextView.
BTextView::DisallowChar('\t') is also not helpful.
- Michael
- References:
- [open-beos-printing] Re: Further PDF Writer Progress
- From: Simon Gauvin
Other related posts:
- » [open-beos-printing] Further PDF Writer Progress
- » [open-beos-printing] Re: Further PDF Writer Progress
- » [open-beos-printing] Re: Further PDF Writer Progress
- » [open-beos-printing] Re: Further PDF Writer Progress
- » [open-beos-printing] Re: Further PDF Writer Progress
- » [open-beos-printing] Re: Further PDF Writer Progress
- » [open-beos-printing] Re: Further PDF Writer Progress
- » [open-beos-printing] Re: Further PDF Writer Progress
- » [open-beos-printing] Re: Further PDF Writer Progress
- » [open-beos-printing] Re: Further PDF Writer Progress
- » [open-beos-printing] Re: Further PDF Writer Progress
- [open-beos-printing] Re: Further PDF Writer Progress
- From: Simon Gauvin