The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
Script to disable file close |
Post Reply |
Author | |
LiveBlues
Groupie Joined: February 28 2005 Status: Offline Points: 93 |
Post Options
Thanks(0)
Posted: February 28 2005 at 8:02am |
Peter,
I was just at Spectrum and while attending your class, you showed a small program that you had to disable the file close option. I wrote it down, but I can't seen to get it to work. Here is what I put in my program. PRINT ESC:STX:'Pinitsession.menu (file_close) enabled = false':CR When I run the program I get an error dialog that tells me that I can't call a property. Any ideas what I am doing wrong? Thanks. |
|
PSchellenbach
Admin Group Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
|
Hi -
The syntax is a little off. The correct syntax is:
Thanks, Pete |
|
LiveBlues
Groupie Joined: February 28 2005 Status: Offline Points: 93 |
Post Options
Thanks(0)
|
Thank you! I knew that I shouldn't have sat in the back.
Thanks again for such a great product. |
|
LiveBlues
Groupie Joined: February 28 2005 Status: Offline Points: 93 |
Post Options
Thanks(0)
|
That worked great Pete. I was also able to disable the exit function on the file menu as well. One more question though. Can I also disable the ability to exit the program using the X in the upper right hand corner?
|
|
PSchellenbach
Admin Group Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |