Computer Science Canada How to set height of button |
Author: | kompsai [ Tue Nov 07, 2006 4:06 pm ] | ||
Post subject: | How to set height of button | ||
Hi all, this is my second post, my first one was praising the Buttons For Dummies thread (but I now realize that it left something out). I now know how to (and have successfully) made buttons that'll do this'n that, no problem. Now, however, I'd like to set the height of the button.
...where W is width...but there doesn't appear to be an obvious parameter for height. Is there a way to do this? i.e. a square button as opposed to a rectangular one Thanks Kevin |
Author: | Clayton [ Tue Nov 07, 2006 4:34 pm ] |
Post subject: | |
I'm not entirely sure, but I think to adjust the height of the button, you need to create a button using GUI.CreateButtonFull, look into that and see where it gets you. |
Author: | batman [ Tue Nov 07, 2006 6:12 pm ] |
Post subject: | Height |
yo im not to sure how this would be done in turing cause i used turing so long ago but in java if you were to make height its own integer then you could say something like: "height := width*2" Thus that will change the height. |
Author: | kompsai [ Tue Nov 07, 2006 6:25 pm ] |
Post subject: | |
*smacks self* It didn't even occur to me to check the included Turing Documentation (F10 key)...I searched for GUI.CreateButtonFull and it gave me what I needed. Thanks! |