Computer Science Canada

Basic Context Menu Class

Author:  corriep [ Sun Mar 15, 2009 6:15 pm ]
Post subject:  Basic Context Menu Class

Since turing's much-hated built-in GUI doesn't support context menus. For those that don't know what a context menu is, right click, your welcome.
Anyways here is mine, support for sub-menus is coming soon.

Any tips, comments or suggestions would be greatly appreciated.

P.S. There are no images in here for me to forget Razz

Author:  SNIPERDUDE [ Mon Mar 16, 2009 10:57 am ]
Post subject:  RE:Basic Context Menu Class

That is actually quite awesome, and very much needed. Great work.

+bits

Author:  BigBear [ Tue Mar 17, 2009 1:33 pm ]
Post subject:  RE:Basic Context Menu Class

This is very impressive.

I tried to make them individual buttons with

if mouseInBox (item (1).x1, item (1).y1, item (1).x2, item (1).y2) and b > 0 then

For option 1.

At first I thought you made that right click menu after it is finish executing, but then I relized turing does that for all program I just never noticed it.

So how would use the menu like different buttons.

Author:  copthesaint [ Tue Mar 17, 2009 3:34 pm ]
Post subject:  RE:Basic Context Menu Class

Wow Nice
Quick Question, How did you get it to print?
or Quit turing?

Author:  BigBear [ Tue Mar 17, 2009 4:42 pm ]
Post subject:  RE:Basic Context Menu Class

Yeah at first I thought all that was part of his program too, but that menu appears for all programs.

Author:  copthesaint [ Tue Mar 17, 2009 8:22 pm ]
Post subject:  RE:Basic Context Menu Class

lol opps Yea I was right clicking and thought

HOW DID HE MAKE IT LOOK LIKE WINDOWS VISTA?

>.< Lol Duh. But still very good job


: