

ALLTEXT - Multiple Font and Color Text Box Control	

		A Technical Overview:

PROPERTIES
Basic Properties, Events and Methods for this control are listed below, grouped according to their functionality.  Properties, Events or Methods that apply only to this control, or require special consideration when used with it, are marked with an asterisk (*). They are documented in the following sections. See the Visual Basic Language Reference or Help for documentation on the remaining properties and events. 


Control Window properties:

The control as whole is served by following properties:

	BackColor     	The background color.
*	BackStyle	Transparent or Opaque
	BorderStyle	Border style.
*	ClearAll		Resets/Empties the control when read
*	DocWidth		Document word-wrap width in Twips.   
			eg:   ALLText.DocWidth=x%  
*	DocHeight	Document height - top to bottom length in twips.
	Enabled		Determines whether the control is able to be acted 
			upon.
*	F2On		Determines whether ALLText presents the Windows font 
			selection dialog box upon keyboard entry of the F2 key.
*	F3On		Determines whether the F3 key will initiate printing.
*	FormatPaste	Determines whether to interpret formatting codes when 
			pasting from the clipboard.
	Height		Height of the control in twips
	HelpContextID	Topic ID associated with the ALLText window during 
			runtime.
	Index		Index of the control if a member of a control array
	Left		X-coordinate of left edge of the control, with respect 
			to the form in twips
	MousePointer	Determines the mouse pointer displayed when over the 
			control
	Name		Specifies the name used to refer to the control within 
			the VB program.
*	NumParagraphs	Number of paragraphs in the document.
*	OverType		Determines whether to insert new characters at the 
			current cursor position, or overwrite preexisting text.
*	ScrollBarH	Determines whether a horizontal Scroll bar will be 
			displayed.
*	ScrollBarV	Determines whether a vertical Scroll bar will be 
			displayed.
*	ScrollHorz	X-coordinate of edit window in relation to start of 
			text.
*	ScrollVert		Y-coordinate of edit window in relation to start of 
			text.
	TabIndex -	Position within the tab sequence of controls on a given 
			form.
	TabEnabled	Determines whether the Tab key is enabled to accept true Tabs.
	TabStop		Determines whether the control's focus can be reached 
			by tabbing from other controls.
	Tag		May be used in identification of  the control
	Top		Y-coordinate of top edge of the control with respect to 
			the form, in twips
*	BackPicture -  	Sets the bitmap displayed behind the text.  
                      	             Eg:  Tpicture=LoadPicture("abc.bmp)
*	BackPictureX-	X-coordinate of the bitmap picture
*	BackPictureY-	Y-coordinate of the bitmap picture
	Visible		Determines whether the control is visible at Run time
	Width		Width of the control window in Twips
*	WriteProtect	Allows or prevents end-user text edition.  Can be set 
			to Off, On, Total, and Screen Protect

Character properties

Text within the ALLText control may be modified through application of the following properties which are associated with any text selection or the current cursor location.:

*	FntBold  -	Current font is Bold.       eg: ALLTExt.FntBold=On
*	FntItalic  -  	Current font is Italic.
*	FntNormal  -	Current font is Normal.
*	FntStrike - 	Current font is Strikethrough
*	FntUnder - 	Current font is Underlined and style (dotted, double, etc)
*	FntShadow -	Current font is Shadowed  (see MakeShadow function)
*	FntColor -   	Color of selected characters. 
				(any of 16 QBColor settings)
*	FntFamily - 	Current font family - useful if the program is to be 
			run in an "unknown" environment.
*	FntName -		Current font name:   eg: X$=ALLText.FntName
*	FntSize - 		Current font size.
*	FntWidth - 	Current font width.
*	FntIndex -  	Index of current font in Font Table.
*	FontTableSize - 	Current size of font table
*	FontSubSuper- 	Subscript/Superscript - and by how mucjh

Positioning and Selection properties
Cursor positioning and text selection is supported through the following properties:

	SelStart	Caret location
	SelLength  	Sets or reads the length of the SELECT region
	Select       	Indicates that some fragment of text is selected.
	SelText		Unformatted Text content of select region

*	CurPar		Current Paragraph or Paragraph specifying start of 
			selected text. 
*	CurChar		Number of Current Character within Current Paragraph 
			text buffer, ALSO Character specifying start of 
			selected text
*	SelToPar  	Paragraph # specifying end of selected text
*	SelToChar	Character # specifying end of selected text
	SelText		String containing selected text WITHOUT font & color 
			information.
*	SelFText   	String containing selected text WITH font and color 
			control information.

Paragraph based properties

Paragraph formatting is supported through application of the following properties:
*	Alignment	Alignment of paragraph being designed .
*	LeftMarg	Left indent for paragraph being designed .
*	RightMarg	Right indent for paragraph being designed .
*	FirstLineIndent	Indentation of first line in a paragraph relative to
			the rest of the paragraph.
*	TopIndent	Indent of top of paragraph being designed from the 
			bottom of previous paragraph.
*	BottomIndent	Indent of bottom of paragraph being designed from the 
			top of previous paragraph.
*	LineSpacing	Vertical spacing of lines within a paragraph
*	TabSet		Sets the Tab spacing in Twips.

