Search found 1181 matches

by Bugala
Wed Feb 21, 2024 10:08 am
Forum: Newbie questions
Topic: Is there way to check mouse movement on edge of screen?
Replies: 5
Views: 444

Re: Is there way to check mouse movement on edge of screen?

Thanks for that OnMouseMove Event, I didn't even realize there is one like that, will use it.
by Bugala
Tue Feb 20, 2024 9:28 pm
Forum: Newbie questions
Topic: Is there way to check mouse movement on edge of screen?
Replies: 5
Views: 444

Re: Is there way to check mouse movement on edge of screen?

Thanks to your suggestion, I figured out another way to get around the problem. Not perfect, but as long as refresh rate is very high, it works, although not perfectly: @DISPLAY {Width=1920, Height=1080, Title = "MouseEdgeScroller", ScaleMode = #SCALEMODE_AUTO, FitScale = True, Sizeable=Tr...
by Bugala
Wed Feb 14, 2024 9:02 pm
Forum: Wishlist
Topic: Spot vs things in Collision check.
Replies: 1
Views: 319

Spot vs things in Collision check.

I noticed Collision check is missing an option to check if a certain spot(X, Y) is colliding, this could be good to add too.
Basically you can use box with width and height of 1 to get this done already, but I suppose it would be faster with actual spot-checking rather than one pixel-sized box.
by Bugala
Wed Feb 14, 2024 4:44 pm
Forum: General programming
Topic: Is there a way to make sure that certain button activates when two buttons are in same place?
Replies: 4
Views: 395

Is there a way to make sure that certain button activates when two buttons are in same place?

I am currently planning on having bigger box with a small box in corner on top of the button. Idea here is that by clicking on that bigger box I can load a picture to be displayed on it, but by pushing that small corner box, I can delete the image. Easiest would be to make two #SIMPLEBUTTONs, but ha...
by Bugala
Tue Feb 13, 2024 5:07 pm
Forum: Wishlist
Topic: OnMouseUp to work whenever mouse is on top.
Replies: 2
Views: 504

Re: OnMouseUp to work whenever mouse is on top.

Most of time I use something like this, since by default, something is always changing. Although that 40 hz was just a number I threw in this case to have some number there. I could have used something else in this case instead, but since I by default intend to use it only myself, as long as it work...
by Bugala
Tue Feb 13, 2024 3:13 pm
Forum: Wishlist
Topic: OnMouseUp to work whenever mouse is on top.
Replies: 2
Views: 504

OnMouseUp to work whenever mouse is on top.

Here is a test program to notice the problem and reason for wish: MakeButton(1, #SIMPLEBUTTON, 100, 100, 100, 100, {OnMouseUp=Function() TestText = "A" EndFunction}) MakeButton(2, #SIMPLEBUTTON, 300, 100, 100, 100, {OnMouseUp=Function() TestText = "B" EndFunction}) SetInterval(1,...
by Bugala
Mon Feb 12, 2024 4:07 pm
Forum: Newbie questions
Topic: Is there way to check mouse movement on edge of screen?
Replies: 5
Views: 444

Is there way to check mouse movement on edge of screen?

I was just about to add functionality to my editor to scroll around by pushing the mouse to the edge of the screen and then moving the screen the amount you are moving your mouse over the edge. But, is there any such command in Hollywood? I can use MouseX and MouseY to get the movement on the screen...
by Bugala
Mon Feb 12, 2024 1:26 pm
Forum: Hollywood bugs
Topic: StringRequest with empty string makes text space very small
Replies: 1
Views: 227

StringRequest with empty string makes text space very small

When using StringRequest() with empty body$ part, it makes the stringrequest text space so small you cant read what you are typing:

Code: Select all

StringRequest("Test", "")
Change to:

Code: Select all

StringRequest("Test", "t")
And it works as its supposed to.

Windows 11 Hollywood 9.1
by Bugala
Mon Feb 12, 2024 10:53 am
Forum: Hollywood bugs
Topic: DeleteButton with DoubleBuffer gives error, bug or a feature?
Replies: 1
Views: 161

DeleteButton with DoubleBuffer gives error, bug or a feature?

BeginDoubleBuffer() MakeButton(1, #SIMPLEBUTTON, 100, 100, 200, 200, {OnMouseUp=Function() EndFunction}) DeleteButton(1) will complain "A BGPic needs to be active while calling button functions!" Problem can be got around by turning doublebuffering off before DeleteButton and then back on...
by Bugala
Mon Feb 12, 2024 9:14 am
Forum: Windows IDE
Topic: Minor Bug: Copy-Paste Paste failing on Windows 10 and 11
Replies: 6
Views: 1216

Re: Minor Bug: Copy-Paste Paste failing on Windows 10 and 11

I suppose it is triggered by something, but I don't know by what. I try to keep an eye on it and when it happens, try to recall what I have been doing with the computer.