PasswordControl

Derived from: public BPasswordControl

Declared in: PasswordControl.h


Overview

The PasswordControl class augments the BTextControl class so that it inserts a PasswordView instead of a BTextView. This involves an evil hack since there is (to my knowledge) no way to properly replace the child TextView. Most of the BTextControl functions that wrap the BTextView will not work properly, nor will the view be hilited when selected. This is a temporary measure until I write the BTextControl-like class so that you can replace the BTextView with a derived class (ugh, lot of work) or Be (hint hint) adds that functionality to the BTextControl.

A PasswordControl can be used just like a BTextControl except that most of wrapper functions for the BTextView will not work.


Member and Functions


Text(), Password()

      const char* Text() const
      const char* Password() const

Text() returns a string of blot characters.

Password() Returns a pointer to the password string.

See also: PasswordView::Password()


Copyright © 1998 Neil G. Miller, Inc. All rights reserved.

Neil G. Miller < neil.miller@pobox.com>

Last modified: Thu, Apr 30, 1998