Q254478: Use the ActiveX Progress Bar OCX Control

Article: Q254478
Product(s): Microsoft FoxPro
Version(s): WINDOWS:6.0
Operating System(s): 
Keyword(s): kbfile kbActiveX kbContainer kbCtrl kbvfp600 kbGrpDSFox kbDSupport
Last Modified: 10-NOV-2000

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Visual FoxPro for Windows, version 6.0 
-------------------------------------------------------------------------------

SUMMARY
=======

Progbar.exe is a sample that provides Visual FoxPro code to control and use the
ProgressBar control (Mscomctl.ocx) in a form.

MORE INFORMATION
================

The following file is available for download from the Microsoft Download
Center:

  Progbar.exe

Release Date: Apr-26-2000

For additional information about how to download Microsoft Support files, click
the article number below to view the article in the Microsoft Knowledge Base:

  Q119591 How to Obtain Microsoft Support Files from Online Services

Microsoft used the most current virus detection software available on the date of
posting to scan this file for viruses. Once posted, the file is housed on secure
servers that prevent any unauthorized changes to the file.

This form demonstrates how to use the ProgressBar control. The code examples
provided in the ProgressBar Help file are all written in Microsoft Visual Basic.
This example translates the Visual Basic code into Visual FoxPro code. The
essential functionality of the examples is not changed, but some additional code
is added to more clearly demonstrate certain functionality.

To run the form, do the following:

1. Download the self-extracting executable file and expand the Progbar form and
  Readme.txt files.

2. Run the form.

3. Click the Run Example command button. The segmented ProgressBar appears
  horizontally across the top to the form.

4. Click the Toggle Scrolling button to change the Scrolling property to Smooth,
  and click the Run Example command button again.

5. Click the Change Orientation button and then click the Run Example command
  button. Note that the ProgressBar now appears along the left-hand side of the
  form.

6. Click the Toggle Scrolling button and then click the Run Example command
  button. Note that the ProgressBar now appears along the left-hand side of the
  form, but it appears segmented.

7. Click Exit to close the form.

Additional query words: Progbar

======================================================================
Keywords          : kbfile kbActiveX kbContainer kbCtrl kbvfp600 kbGrpDSFox kbDSupport 
Technology        : kbVFPsearch kbAudDeveloper kbVFP600
Version           : WINDOWS:6.0

=============================================================================