Set and update value of progress bar by code in axapta x++ lanugage

SysOperationProgress        progress1; 
//Initialize variable
progress1= new SysOperationProgress(); 
// Progress1.setCaption('Progress'); 
Progress1.setText('Process is in Progress..Please Wait'); 
Progress1.setTotal(500); 
//Increment progress value and update to control
progressexcel.update(true); 
Progress1.incCount();

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.