Search found 1178 matches

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: 389

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: 493

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: 493

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: 425

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: 222

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: 155

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: 1198

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.
by Bugala
Thu Feb 08, 2024 8:19 pm
Forum: General programming
Topic: Any problem to make a button outside of the area?
Replies: 1
Views: 257

Any problem to make a button outside of the area?

I know that if I do Box(-1000, -1000, 100, 100, #WHITE) It is not a problem, but Box will simply not be drawn since it is completely outside of screen. But what if I do same with MakeButton? MakeButton(Nil, #SIMPLEBUTTON, -1000, -1000, 100, 100, {OnMouseUp=Function() debugprint("test") End...
by Bugala
Thu Feb 08, 2024 10:23 am
Forum: General programming
Topic: Any problem from constantly deleting and creating Buttons?
Replies: 2
Views: 217

Re: Any problem from constantly deleting and creating Buttons?

No, it is actually an editor I am making for own use. You add boxes which represent locations, and then I am planning on being able to scroll around, zoom and unzoom. Since It is, at least currently, only planned for my own use, I am simply using rectangles as graphics, and hence can use #SIMPLEBUTT...
by Bugala
Wed Feb 07, 2024 1:38 pm
Forum: General programming
Topic: Any problem from constantly deleting and creating Buttons?
Replies: 2
Views: 217

Any problem from constantly deleting and creating Buttons?

I am wondering what solution I should take to my problem. Thing is, I have these boxes that are buttons (Could use #SIMPLEBUTTON), but user can scroll around and zoom and unzoom as well, which means that the size and location of the box might change (even outside of the screen), which means that if ...