Search found 156 matches

by jPV
Sat Oct 20, 2018 1:53 pm
Forum: Newbie questions
Topic: How makes scroll with a picture?
Replies: 17
Views: 387

Re: How makes scroll with a picture?

Again thank you for your code, I like it, because it is easy to understand. And as idea to use the arrows keys to go the first and last page, because this is available in all Amiga systems. Other thing the third mouse button under MorphOS is use for the OS. I modified it quite a bit recently, I gue...
by jPV
Fri Oct 12, 2018 3:58 pm
Forum: Newbie questions
Topic: How makes scroll with a picture?
Replies: 17
Views: 387

Re: How makes scroll with a picture?

I haven't made support for password protected files (yet) anywhere.. can you check somehow if a file is protected or not?
by jPV
Thu Oct 11, 2018 9:15 pm
Forum: General programming
Topic: sorting files
Replies: 6
Views: 139

Re: sorting files

I got that kind of error with your original example, but when I changed like I said, it works for me... So this is how it works here at least: nums={} For a=0 To 10 nums[a]={a=Rnd(10),b=100-Rnd(10)} NPrint(nums[a].b) Next Sort(nums, Function(a,b) Return(a.b > b.b) EndFunction) NPrint("") For k = 0 T...
by jPV
Thu Oct 11, 2018 7:36 pm
Forum: Newbie questions
Topic: How makes scroll with a picture?
Replies: 17
Views: 387

Re: How makes scroll with a picture?

Well... eh.. I started to do some quick copypasting from my old sources few hours ago to show how I have made zooming & scrolling. I just used DisplayBrush instead of DisplayBrushPart and let Hollywood cut the image itself.. I don't know if it's slower or not, but works this way too. Then I tuned ba...
by jPV
Thu Oct 11, 2018 3:56 pm
Forum: General programming
Topic: sorting files
Replies: 6
Views: 139

Re: sorting files

Change the sort line to: Sort(nums, Function(a,b) Return(a.b > b.b) EndFunction) You don't compare the original nums table, but the local a and b which are given to the function. So with you original situation you'd probaly use something like this: Sort(nums, Function(a,b) Return(a.num > b.num) EndF...
by jPV
Wed Oct 10, 2018 6:02 pm
Forum: Newbie questions
Topic: How makes scroll with a picture?
Replies: 17
Views: 387

Re: How makes scroll with a picture?

Juan Carlos wrote:
Wed Oct 10, 2018 2:30 am
I'll try to use the DisplayBrushPart with keys because with mouse is impossible.
Nothing is impossible :)
by jPV
Tue Oct 09, 2018 7:40 pm
Forum: Showcase
Topic: Raffeli
Replies: 1
Views: 68

Raffeli

Raffeli is a simple MUI program to raffle things. Use it to raffle prizes at events or for anything else that needs random results from custom lists, or to shuffle lists into a random order. Features: - Individual or several winners can be raffled each round - Can show different pictures that depen...
by jPV
Tue Oct 09, 2018 7:36 pm
Forum: Showcase
Topic: RNOEffects
Replies: 2
Views: 162

Re: RNOEffects

Version 1.1 has been released. Just couple small features I forgot from the initial version :)
- Added command line options and icon tooltypes
- More verbose when trying to load unsupported files
by jPV
Sun Sep 09, 2018 10:06 am
Forum: Polybios
Topic: Polybios and Designer don't play well together
Replies: 1
Views: 128

Polybios and Designer don't play well together

If I have Polybios installed to LIBS:Hollywood/ and I start Designer, it gives an error telling "Error while loading plugin "polybios.hwp": This plugin requires at least Hollywood 7.1!", which is normal for few other plugins too, but the actual problem is that with Polybios I get a hit in the MorphO...
by jPV
Fri Aug 31, 2018 2:28 pm
Forum: Hollywood bugs
Topic: SystemRequest window in full screen under MorphOS
Replies: 5
Views: 201

Re: SystemRequest window in full screen under MorphOS

As said in the other thread, you can use GrabDesktop() to make a work-around.

For example like this:

@DISPLAY {Title="Test", Hidden=True, Borderless=True, DisableBlanker=True}
GrabDesktop(1)
BrushToBGPic(1,1)
DisplayBGPic(1)
FreeBrush(1)
OpenDisplay(1)


That would work on MorphOS too.