Simulator

ProgressBar Control functions

How to get the position of the ProgressBar Control GetPos() This function returns the position of the ProgressBar in integer

progress=parent:tt_ProgressBarHandle("nativeclass=msctls_progress32","height=23","width=113")
iprogress=progress:GetPos()

How to set the position of the ProgressBar Control SetPos(int arg1) the arg1 sets the position of the ProgressBar control.

progress=parent:tt_ProgressBarHandle("nativeclass=msctls_progress32","height=23","width=113")
progress:SetPos(50)

Trace Technologies Pvt. Ltd.,  Copyright 2003 - 2006