Go to the FreeLists Home Page Home Signup Help Login
 



[open-beos-printing] || [Date Prev] [04-2002 Date Index] [Date Next] || [Thread Prev] [04-2002 Thread Index] [Thread Next]

[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







[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.