SELECTBOX ()  Version 5.8.02

This command works similar to LISTBOX() but allows for type-ahead of the listed words.

        aa=SELECTBOX(array,first,last,row,col,height,width,prompt_string,prompt_row,prompt_col, case,init)


Example:

n=selectbox(dat,"1","25","5","5","8","60","Type here ","1","2",”1”)

Values for case are:

0 = case insensitive (default)

1 = case sensitive

2 = 'filename' sensitive - that the input  is case-sensitive based on the O/S filename case sensitivity.  That is,

Windows is case-insensitive, and Unix/Linux are case-sensitive. 

This is useful when being used to select a filename from a list

 

init is the starting position when rendered

 

NOTE: This variable can be set in the config file to determine the default case value so that it does not need to be programmed on the command line.          

PFSELECTCASE=n (n = "0", "1", or "2", default=0)

 

NOTE: a space in the type-ahead keystrokes will not be accepted and will clear the entered next and move to the next selection.  

   This was corrected in a newer revision.

NOTE: input area is the length of the  longest item in the list.

IMPORTANT:  If you SELECTBOX and Input Text and Prompt is positioned in such a way that one may overlap the other, you may

experience screen presentation issues.  Make sure they do not overlap.

 

PFSELECTBOXCASE (ver 5.8.02)


This sets a global method for SELECTBOX()

This variable can be set in the config file to determine the default case value so that
it does not need to be programmed on the command line.

Values for case are: 
0 = case insensitive (default) 
1 = case sensitive 
2 = 'filename' sensitive - that the input is case-sensitive based on the O/S 
filename case sensitivity. That is, Windows is case-insensitive, and Unix/Linux 
are case-sensitive. This is useful when being used to select a filename from a list.