Sys(2333)
SYS(2333) allows Visual FoxPro to take advantage of ActiveX controls that support VTable binding, an interface that can speed processing. Unfortunately, many controls fail when this interface is enabled.
Usage |
cSetting = SYS( 2333 [, nSetting ] ) |
Parameter |
Value |
Meaning |
cSetting |
Character |
The resultant setting after the function runs, as a one-character string (not an integer). |
nSetting |
0 or omitted |
Interface is disabled. This is the default for VFP 6 and later. |
1 |
Interface is enabled. This is VFP 5's default, and it seemed like a good idea at the time. |
|
2 |
Returns the current setting. |
Example |
? SYS(2333) && Sets and returns the default "0" ? SYS(2333,0) && Same effect as the previous command ? SYS(2333,1) && Enables VTable binding and returns "1" ? SYS(2333,2) && Returns the current setting, "1" |
See Also |