Manual - UserInterface Up
 Contents   News   View 

Improve MyCat Previous Next

Improve MyCat

Close the MyCat window and edit MyCat.q some more.  We want to make the MyCat window smaller.  So, in function MyCat, change rectangle [100 100 400 400] to [100 100 200 200] .  We want the MyCat button to take up the entire client area of the MyCat window.  So, in function _MyCatSize, eliminate the use of l, t, w, and h, and replace [l t w h] by either [0 0 width height] or (GetClientRect window) .  Then Load your MyCat.q file into your session, evaluate (MyCat) and mouse click the button in the MyCat window to hear your cat.



©2004-2024 Planet Quantum Kelly Roach