次の方法で共有


Use Slider and Status Bar Controls Sample

File: ...\Samples\Solution\OLE\Slider.scx

This sample illustrates using the Slider control and the StatusBar control.

Slider Controls

Code in the Scroll event of each slider control sets the Value property of the other controls.

#DEFINE TXT_LOC "slider value: "
THISFORM.Olecontrol2.Panels(2).Text = TXT_LOC + ALLTRIM(STR(THIS.value))
THIS.Parent.spn1.Value = THIS.Value
THIS.Parent.oleV.Value = THIS.Value

StatusBar Control

The StatusBar Control Properties dialog box makes setting status bar properties easy.

FoxProStatusBarCntrlProperties screenshot

To open the StatusBar Control Properties dialog, choose StatusBar Control Properties from the shortcut menu of a StatusBar Control.

See Also

Tasks

Solution Samples

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

ActiveX Solution Samples