PFC Guide Titlebar
HomeFAQLinksPFCMAGExtensionsDownloadWhat's NewSearch

Progress Bar Extension

Ver. 1.00
Contributed by Lijun Yang




Make the indicator resizable as the progress bar object is resized


Add the following code into resize event:

// expand dw to dimensions of on screen object
dw_progress.height = this.height
dw_progress.width = this.width

// make the dw header band height of on screen object
dw_progress.object.datawindow.header.height = this.height

// make the progress rectangle the height and width of on screen object
dw_progress.object.progress_rect.height = this.height
dw_progress.object.progress_rect.width = this.width

// center percentage text on screen object
dw_progress.object.pct.y = integer((integer(dw_progress.object.datawindow.header.height) / 2 ) - &
    (integer(dw_progress.object.pct.height) / 2))
dw_progress.object.pct.width = this.width

Download the About the extension contributor


Revision History
01/09/1998 Initial Revision Ver. 1.00

Interested in contributing material to this web site? Send an email to, but don't forget to check the contribution guidelines first.

For information or suggestions about this web site please contact

PFCGuide is sponsored by Dynamic Technology Group.
The information on this site is provided for advice only and not to be considered a contract or a liability against Dynamic Technology Group.

Last Revised: February 15, 2004 03:58 AM.