how to cancel display text!!!

after reading many topics in this forum.i get to konw how to display the text in 3D view
.how ever,i make an activex,if it is ticked,the text will be display by the function
how ever,when i unticked the activex the text is still in the view,i hope any one can tell me how to undisplay the text,is the any function provided by OCC??

best Regards

Sharjith Naramparambath's picture

Did you checkout the Erase method?