Good evening,It sounds like you might be looking for Window:Disable() and Window:Enable().
I have two questions :
First question : Is it possible to disable the mouse until an event happens (end of printing for example) and then re-enable it ?
Second question : what is the difference between endwindow() and destroy(). Basically when is it useful to use one versus the other ?
Thanks for the help
Aurora Baccio
First question : Is it possible to disable the mouse until an event happens (end of printing for example) and then re-enable it ?
Second question : what is the difference between endwindow() and destroy(). Basically when is it useful to use one versus the other ?EndWindow() closes the window but it remains in memory. You can still query the window object for values. Destroy() takes it out of memory, you can no longer query the window object.
On Friday, May 19, 2023 at 4:44:53 AM UTC+10, aurora baccio wrote:
Good evening,
I have two questions :
First question : Is it possible to disable the mouse until an event happens (end of printing for example) and then re-enable it ?
Second question : what is the difference between endwindow() and destroy(). Basically when is it useful to use one versus the other ?
Thanks for the help
Aurora Baccio
First question : Is it possible to disable the mouse until an event happens (end of printing for example) and then re-enable it ?It sounds like you might be looking for Window:Disable() and Window:Enable().
Second question : what is the difference between endwindow() and destroy(). Basically when is it useful to use one versus the other ?EndWindow() closes the window but it remains in memory. You can still query the window object for values. Destroy() takes it out of memory, you can no longer query the window object.
Good evening,
I have two questions :
First question : Is it possible to disable the mouse until an event happens (end of printing for example) and then re-enable it ?
Second question : what is the difference between endwindow() and destroy(). Basically when is it useful to use one versus the other ?
Thanks for the help
Aurora Baccio
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 304 |
Nodes: | 16 (2 / 14) |
Uptime: | 30:23:08 |
Calls: | 6,820 |
Files: | 12,335 |
Messages: | 5,406,802 |