SMALLWHEN() Short: ------ SMALLWHEN() Uses SMALLS() in a WHEN condition for a GET Returns: -------- lValid => logical value Syntax: ------- SMALLWHEN([lShowOnUp],[lReturn],expDisplayString,[cTitle],; [expAlias],expReturn,[expStartRange,expEndRange],[bException]) Description: ------------ Uses SMALLS() in a WHEN condition for a GET. See SMALLS() for description of parameters <expDisplayString> through [bException] [lShowOnUp] If False (the default), smalls is not called when going backwards through the read (up arrow, etc), only when going forward. [lReturn] This is simply the value to return. The default is False, which means the get is never 'edited'. A value of True means the smalls() lookup is done, and then the get is edited. Examples: --------- @3,0 GET V3 WHEN ; SMALLWHEN(.f.,.f.,"LASTNAME",nil,5,"LASTNAME") // This will pop up a smalls() lookup table when going forward // through the gets. If RETURN is pressed, the current GET is fed // or assigned the lookup value. (depends on value of <expReturn>) // A False is returned, so the GET is not actually edited. The new // value is displayed, and the next get is made active. Notes: ------- See Smalls() for a complete parameter description. Source: ------- S_SMGETS.PRG
Pingback: SP Get system Functions | Viva Clipper !
Pingback: SP Functions | Viva Clipper !