Foundation 6

Fnd_Nav

12 shared methods.

Fnd_Nav_Add

Fnd_Nav_Add (label) --> Number

Adds a button with the specified label to the navigation palette arrays.

If a button with that label already exists, no new button is added.

Assumes the semaphore work is handled by the calling method.

Returns the number of the new or found button.

ParameterTypeDirectionDescription
labelTextinThe new button's label
ResultLongintoutThe new button's number

Fnd_Nav_AddButtonMethod

Fnd_Nav_AddButtonMethod (method; label{; foreground color; background color})

Adds a new button to the palette and assigns the method as its action.

If a button already exists with that label, it is updated.

ParameterTypeDirectionDescription
methodNameTextinThe method name to execute
labelTextinThe button label
inForegroundColorLongintinThe text color (optional)
inBackgroundColorLongintinThe background color (optional)

Fnd_Nav_AddButtonTable

Fnd_Nav_AddButtonTable (->table{; label{; foreground color; background color}})

Adds a new button to the palette and assigns the specified table to it.

If no label or a blank label name is passed, this routine will use the table name for the label.

If a button already exists with an identical label, it is updated.

This routine is designed to be called only if the Foundation IO component is installed.

ParameterTypeDirectionDescription
tablePointerinThe table
inLabelTextinThe button label (optional)

Fnd_Nav_AutoConfigure

Fnd_Nav_AutoConfigure

Automatically determines the contents of the Navigation Palette.

No parameters.

Fnd_Nav_ButtonMethod

Fnd_Nav_ButtonMethod (button number)

Called from the navigation palette buttons.

ParameterTypeDirectionDescription
buttonNumberLongintinThe button number

Fnd_Nav_Delete

Fnd_Nav_Delete ({label})

Deletes the button with the specified label from the navigation palette.

If no parameter is passed, all buttons are deleted.

ParameterTypeDirectionDescription
labelTextinThe button label (optional)

Fnd_Nav_Display

Fnd_Nav_Display

Displays the navigation palette.

No parameters.

Fnd_Nav_DummyMethod

Fnd_Nav_DummyMethod

A generic method with no code. This is useful for assigning as the close box method for new windows (handle the close in the form method) or to use with ON ERR CALL to disable any automatic reaction to errors.

Deprecated 2026-08-22. Call Fnd_Gen_SilentError instead. The body was always empty, so the two methods were never different. This one served one Open window close box in Fnd_Nav_Display.

No parameters.

Fnd_Nav_Info

Fnd_Nav_Info (label) --> Text

Returns requested information. See the Fnd_Gen_ComponentInfo method for more information.

ParameterTypeDirectionDescription
requestTextinInfo desired ("version" or "name")
ResultTextoutResponse

Fnd_Nav_UpdateColors

Fnd_Nav_UpdateColors

Updates the form's object colors.

Assumes the calling method handles the necessary semaphore work.

No parameters.

Fnd_Nav_WindowHeight

Fnd_Nav_WindowHeight --> Number

Returns the height to use for the navigation palette.

ParameterTypeDirectionDescription
ResultLongintoutThe height to use

Fnd_Nav_WindowWidth

Fnd_Nav_WindowWidth --> Number

Returns the width to use for the navigation palette.

ParameterTypeDirectionDescription
ResultLongintoutThe width to use