Search found 192 matches
- Wed Apr 17, 2024 12:01 pm
- Forum: General programming
- Topic: DisplayBrushPart() with negative coordinates?
- Replies: 4
- Views: 236
Re: DisplayBrushPart() with negative coordinates?
In layer mode you should not constantly create new box and brush layers, the layers may only be created once. Write an OpenResourceMonitor() in your example to see what happens. I see two ways to achieve the desired effect. Either you create Brush 1 with a mask and move the layer and redraw the mask...
- Tue Apr 16, 2024 10:04 am
- Forum: General programming
- Topic: DisplayBrushPart() with negative coordinates?
- Replies: 4
- Views: 236
Re: DisplayBrushPart() with negative coordinates?
I think you should provide a (in a way) working example, then it would be easier to help.
- Sun Apr 14, 2024 4:56 pm
- Forum: Hollywood bugs
- Topic: Run and UNC paths on Windows
- Replies: 0
- Views: 130
Run and UNC paths on Windows
Recently when I wanted to report a bug that wasn't a bug at all I tried CanonizePath() as workaround. I left it in the script, because I assumed that I had with it a solution that would work everywhere. But when I started the program on Windows from a network path, it didn't work properly. The path ...
- Thu Apr 11, 2024 11:31 pm
- Forum: General programming
- Topic: multiple display on fullscreen
- Replies: 2
- Views: 137
Re: multiple display on fullscreen
Seems your display 2 is too small. With Width=130 it works. But I don't have an explanation.
- Mon Mar 18, 2024 3:13 pm
- Forum: General programming
- Topic: Chr(0,#ENCODING_RAW)
- Replies: 3
- Views: 170
Re: Chr(0,#ENCODING_RAW)
dont forget strings terminated with a 0 :) This is Hollywood, not C :) . In Hollywood strings can contain binary data, this would not be possible with zero terminated strings. From the manual: "In many programming languages a zero character defines the end of the string. Not so in Hollywood. H...
- Sun Mar 17, 2024 5:18 pm
- Forum: General programming
- Topic: Chr(0,#ENCODING_RAW)
- Replies: 3
- Views: 170
Chr(0,#ENCODING_RAW)
I expected Chr(n,#ENCODING_RAW) and ByteChr(n) to return the same result, but Chr(0,#ENCODING_RAW) returns an empty string. Is that correct?
- Mon Mar 04, 2024 11:06 am
- Forum: Hollywood bugs
- Topic: Run and Execute on Linux and Mac
- Replies: 2
- Views: 220
Re: Run and Execute on Linux and Mac
No, sorry, I could have thought of that myself. Thanks!
- Sun Mar 03, 2024 11:20 am
- Forum: Newbie questions
- Topic: Missing mouse selection
- Replies: 4
- Views: 221
Re: Missing mouse selection
You should not poll the mouse button because there may be parts of the program that take more time than the mouse button is pressed. The appropriate way is the event library. Replace the If IsLeftMouse() part with an event initialization before entering the main loop. And you need a WaitEvent() or C...
- Wed Feb 28, 2024 5:08 pm
- Forum: Hollywood bugs
- Topic: Run and Execute on Linux and Mac
- Replies: 2
- Views: 220
Run and Execute on Linux and Mac
Run() and Execute() do not work on Linux and Mac when used with relative paths. I don't seem to be the first one who had trouble with this. There is no error message either.
The problem can be avoided by executing a CanonizePath() on the argument file$
The problem can be avoided by executing a CanonizePath() on the argument file$
Code: Select all
Run(CanonizePath(file$))
- Fri Feb 16, 2024 10:41 am
- Forum: Hollywood bugs
- Topic: GetErrorName() with bad arguments
- Replies: 1
- Views: 188
GetErrorName() with bad arguments
I accidentally set a variable to True in certain situations, which should be displayed later using GetErrorName().
So I noticed that GetErrorName() causes a memory access violation when it is called with positive values.
So I noticed that GetErrorName() causes a memory access violation when it is called with positive values.