Search found 1811 matches

by Dude
Sun Feb 22, 2015 2:56 pm
Forum: Coding Questions
Topic: Change image in PopupImageMenu?
Replies: 10
Views: 2854

Re: Change image in PopupImageMenu?

Perfect! Thank you! :D I can't believe it was doable just by using the standard menu instead of image menu. But then, the descriptions of both commands makes it sound like I had no choice. :(
by Dude
Sun Feb 22, 2015 11:42 am
Forum: Coding Questions
Topic: Change image in PopupImageMenu?
Replies: 10
Views: 2854

Re: Change image in PopupImageMenu?

TI-994A, thanks for taking the time to post those answers, but they're not what I asked. I want to change the image during runtime. Your examples are both just setting the image when the menu item is first created. :) In other words, how do I set a new ImageID() without using the MenuItem() command?...
by Dude
Sun Feb 22, 2015 7:49 am
Forum: Coding Questions
Topic: Change image in PopupImageMenu?
Replies: 10
Views: 2854

Change image in PopupImageMenu?

I need to change (or set) an image of a menu item during runtime. The following fails. What's the secret? :) OpenWindow(0,0,0,200,100,"Menu",#PB_Window_SystemMenu|#PB_Window_ScreenCentered) CreatePopupImageMenu(0) MenuItem(0,"This menu image should be red") CreateImage(0,16,16,32...
by Dude
Sat Feb 21, 2015 3:47 am
Forum: Coding Questions
Topic: Draw an antialiased circle?
Replies: 16
Views: 7341

Re: Draw an antialiased circle?

Thanks for all the awesome responses to my question! :D
by Dude
Fri Feb 20, 2015 1:54 pm
Forum: Coding Questions
Topic: Draw an antialiased circle?
Replies: 16
Views: 7341

Draw an antialiased circle?

I'm using Circle() on an image but it's jaggy. Is there a way (or trick) to do it anti-aliased, so it's got a smooth edge?
by Dude
Thu Feb 19, 2015 2:22 pm
Forum: General Discussion
Topic: Trojan detected
Replies: 12
Views: 5882

Re: Trojan detected

There needs to be a sticky topic about false alerts, since they come up so often.
by Dude
Thu Feb 19, 2015 4:28 am
Forum: Coding Questions
Topic: Using Chr() With Val()
Replies: 31
Views: 10859

Re: Using Chr() With Val()

Seems to be a bug with Chr? This should work fine when compiled in Unicode, but I get an F and a dash.

Code: Select all

h$="$2046" ; 8262
Debug Chr(8262) ; F
Debug Chr(Val(h$)) ; -
by Dude
Wed Feb 18, 2015 1:43 am
Forum: Tricks 'n' Tips
Topic: Capturing Text from under your mouse cursor
Replies: 26
Views: 12904

Re: Capturing Text from under your mouse cursor

TYVM, Rashad! :D
by Dude
Tue Feb 17, 2015 4:56 pm
Forum: Tricks 'n' Tips
Topic: Capturing Text from under your mouse cursor
Replies: 26
Views: 12904

Re: Capturing Text from under your mouse cursor

The code in the first post is returning Asian characters for me instead of English text, which I'm guessing means it's not written to handle Unicode character sets. I've tried increasing the Space() amounts but that didn't help. Can someone please help me get it working? :mrgreen: I also tried diffe...
by Dude
Mon Feb 16, 2015 2:56 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] Enumeration Binary
Replies: 8
Views: 2890

Re: Enumeration Binary

Here's my alternative. Kinda messy I admit, but a lot easier and far less typing than the other methods to specify the constants. Macro BinEnum(var) Enumeration (#PB_Compiler_EnumerationValue)*2 EndEnumeration #var=(#PB_Compiler_EnumerationValue)/4 EndMacro Enumeration 1 EndEnumeration BinEnum(This)...