Using JavaScript in HomeSite 4.0, Part I: The Application Object's Methods, Part VII | WebReference

Using JavaScript in HomeSite 4.0, Part I: The Application Object's Methods, Part VII


Using JavaScript in HomeSite 4.0, Part I

The Application Object's Methods, Part VII

SetActiveCodeSweeper(fullPath) Boolean

Changes the active CodeSweeper format file to fullPath. Returns -1 if successful, 0 otherwise.

SetActiveResults(resultsType) None

Opens the Results area with four tabs: Search, Validation, Links, and Thumbnails. The parameter resultsType determines the selected tab:

resultsTypeSelected Tab
0
Search
1
Validation
2
Links
2
Thumbnails
SetProgress(length) None

Sets the length of the progress bar in the Status area. The length (length) is supplied as a percentage (1-100). The statement setProgress(30) generates the following situation:

The Progress Bar
SetStatusText(message) None

Sets the text of the Status bar. The statement setStatusText("How are you today?") generates the following situation:

The Status Bar

Keep in mind that all of these functions are methods of the Application object, so they cannot be called alone.

https://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

Created: September 13, 1999
Revised: September 13, 1999

URL: https://www.webreference.com/js/column48/appmet7.html