[open-beos-printing] Re: Further PDF Writer Progress

>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


Other related posts: