[open-beos-printing] Re: Further PDF Writer Progress
- From: "Simon Gauvin" <gauvins@xxxxxxxxx>
- To: open-beos-printing@xxxxxxxxxxxxx
- Date: Wed, 03 Apr 2002 12:05:35 EST (-0500)
> Still have not solved the problem to automatically make the property
> visible
> that receives the focus in the Doc Info window.
> Any help concerning this problem is welcome. Well, I would be happy
> also,
> if someone could implement clipping to stroked lines.
Michael,
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... :)
Hope this helps. :)
-----------------------------
Simon Gauvin
President, BeUnited
http://www.beunited.org
- Follow-Ups:
- [open-beos-printing] Re: Further PDF Writer Progress
- From: Michael Pfeiffer
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: Michael Pfeiffer