InsMode Function | |
Returns the current insert mode, or sets the insert mode on or off.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax FUNCTION InsMode() AS LOGIC
public static bool InsMode()
Request Example
View SourceReturn Value
Type:
Logic
A logical value corresponding to the insert mode setting before InsMode(.T.) or InsMode(.F.) was issued is returned.
Remarks
If you omit the optional argument and the insert mode is on (characters are inserted before the cursor),
InsMode( ) returns true (.T.). If the insert mode is off (characters are overwritten at the insertion point),
InsMode( ) returns false (.F.).
Examples 1=InsMode(.T.)
2? InsMode( )
3= InsMode(!InsMode( ))
4? InsMode( )
See Also