Casio ClassPad 300 Programming Manual page 82

Sdk programming guide
Hide thumbs Also See for ClassPad 300:
Table of Contents

Advertisement

r.wTop = 5;
bar = new PegProgressBar(r, FF_THIN|PS_SHOW_VAL|PS_PERCENT);
AddR(bar);
}
void ProgressWindow::Task()
{
for(int i=1;i<10000001;i++)
{
for(int j=0;j<100;j++);
if(i%100000 == 0)
{
bar->Update(i/100000);
}
}
}
In this example Task() could be called from a user event, like clicking on a button. Here
is a screenshot where a toolbar button starts Task():
For more information, including a complete list of constructors and member functions for
each control class, see the ClassPad 300 SDK Reference Guide.
82

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents