Xbasic

Browse Methods

Description

Available methods for the browse object.

Methods

BROWSE.CLOSE Method

The .CLOSE() method closes the layout window.

BROWSE.CURRENT_RECORD Method

The .CURRENT_RECORD() method returns the Record_Number of the current browse row.

BROWSE.DIALOG Method

The BROWSE.DIALOG() method loads and displays an existing browse.

BROWSE.END Method

The .END() method moves the focus to the end of the row as if the user had pressed the End key.

BROWSE.FORM_VIEW Method

The .FORM_VIEW() method toggles a browse window into a form window.

BROWSE.GET_BACK Method

The .GET_BACK() method returns the name of the object that was displayed before you toggled between screens with F8.

BROWSE.HOME Method

The .HOME() method moves the focus to the beginning of the row as if the user had pressed the Home key.

BROWSE.LOAD Method

BROWSE.LOAD()loads Browse_Name into memory and returns the object pointer. To open the browse as a modal dialog box, specify "Dialog" as the optional Style parameter.

BROWSE.ONCREATE Method

Called when user creates a new Browse object on a Form layout

BROWSE.ONDIALOGBEGIN Method

Used for internal use only.

BROWSE.ONDIALOGEND Method

For internal use only.

BROWSE.ONEDIT Method

Internal use function.

BROWSE.PREVIEW Method

The BROWSE.PREVIEW() method displays the Preview dialog box showing the selected browse.

BROWSE.RECORDS_GET Method

The <BROWSE>.RECORDS_GET() method returns the number of records in a browse's or form's current query list.

BROWSE.REFRESH_BROWSE Method

The .REFRESH_BROWSE() method refreshes the form or browse, as if you had pressed Browse > Refresh Display (same as the Refresh command on the menu)

Browse.SaveAs Method

The Browse.SaveAs() method prints Layout_Name to file in PDF, HTML, RTF, or TXT formats. If no format is specified, the PDF format is used.

BROWSE.SELECTED_RECORDS Method

.SELECTED_RECORDS()returns the record numbers of selected records.

BROWSE.VIEW Method

BROWSE.VIEW() opens Browse_Name, displaying all records, and returns the object pointer. See FORM.LOAD() for details.

BROWSE.VIEWQUERIED Method

BROWSE.VIEWQUERIED()opens Browse_Name, displaying selected and ordered records, and returns the BROWSE > object pointer to the browse window.

BROWSE.WINDOW_POSITION Method

The .WINDOW_POSITION() method positions a browse on the screen.

BROWSE.ZORDER Method

The .ZORDER() method sets the window's z-order stacking position. i.e. Back,Front.

BUTTON.SET_PASSWORD Method

The .SET_PASSWORD() method sets or changes the button's password.