Class Properties

Top  Previous 

Class properties / methods

(Let's assume the class instance is MySmartType)

 

 

 

Property

Default

Example Code

Effect

Learning

1

MySmartType.Learning = 0

If True, when the user highlights a word or phrase, the Question stored in the LearningQuestion property is asked and the word or phrase can be added to the word file.

LearningQuestion

Add this to list of phrases ?

MySmartType.LearningQuestion = 'Add this ?'

See above

EnterCompletes

0

MySmartType.EnterCompletes=1

Replace Enter with a Tab key so it always completes the field

EnterCompletesIfFull

1

MySmartType.EnterCompletesIfFull=1

Replace Enter with Tab key if textbox is full, and no scroll attribute

ControlEnterToTab

1

MySmartType.ControlEnterToTab = 0

Convert Control+Enter to a tab so it completes the field

NoPopupToolbox

0

MySmartType.NoPopupToolbox = 1

Disables the popup window

ListLength

15

MySmartType.ListLength = 5

The Maximum length of the popup list (you might want to set his lowe for fields at the bottom of the screen)

ListSeparator

Blank

MySmartType.ListSeparator = ';'

Adds the delimiter (and a space) after each selection.  This is great for making lists (eg adding lots of emails to the to: field)

 

 

Methods ...

 

1.SetEventToPost

Smart-Type posts some events as part of its operation.  The default event is event:user+9.  You can change this if it interferes with other templates or code ...

 

eg...

MySmartType.SeteventToPost(event:user+23)