Hello fre_ber.
I asked Realsoft about it before.
However, they were not able to show a sample cord to me
because they were busy with development of Ver7.
So they made following reply to me.
Best regards,
K-UDA
I am sorry that documents about js programming are so inadequate. The class
oops/r3progre.js is a 'base class' from which actual progress indicators
are
derived. You need to create a progress gadget and a progress model for the
gadget, and then update the model.
The required classes are:
real/gadget/r3progd.js - progress gadget displaying graphical information
real/code/r3progm.js - progress model, which you update in your js code
Unfortunately we are very busy finishing v7 right now, so I don't have time
to write a full js example, but here's some C code showing how things
work:
proggad = R3ObjectCreate(R3CLID_PROGRESSGADGET, R3WGA_Parent,
myWindow,
R3PGA_NoCancelButton, TRUE,
R3TAG_END);
progress = R3ObjectCreate(R3CLID_PROGRESSMODEL, R3TAG_END);
R3SetAttrs(proggad, R3WGA_Model, self->progress, R3TAG_END);
R3SendMessageA(progress, R3PROGREM_BEGIN, 100);
....
I hope the code above helps to understand the principle.
_______________________________________________
User-list mailing list
[email protected]
http://realsoft.com/mailman/listinfo/user-list_realsoft.com