Search found 233 matches

by jPV
Sun May 19, 2019 10:43 am
Forum: Newbie questions
Topic: List and strings
Replies: 14
Views: 313

Re: List and strings

How about just doing it like this?

Code: Select all

			If loadedline$ <> "unwanted"
				InsertItem(myvar$, loadedline$)
			EndIf
Or if there are Unicode strings, then it's better like this:

Code: Select all

			If CompareStr(loadedline$, "unwanted")
				InsertItem(myvar$, loadedline$)
			EndIf
by jPV
Sat May 18, 2019 4:38 pm
Forum: Polybios
Topic: Request: IsPDF function
Replies: 11
Views: 824

Re: Request: IsPDF function

I think he was on 68k... I seem to have got those test files from eab fileserver but can't find the thread atm :) In any case they fail to open on MorphOS (too). And yes, they seem to open on Windows here too...
by jPV
Sat May 18, 2019 9:50 am
Forum: Polybios
Topic: Request: IsPDF function
Replies: 11
Views: 824

Re: Request: IsPDF function

Thanks!

BTW. I've forgot to ask earlier, but I got these couple PDF files (link) from one user and they don't open with Polybios. They do work with APDF and VPDF... so any idea why they don't work with Polybios?
by jPV
Sun May 12, 2019 6:27 pm
Forum: MUI Royale
Topic: String notify on key press
Replies: 2
Views: 115

Re: String notify on key press

Set a notification for the "contents" changes.
by jPV
Sun May 12, 2019 12:12 pm
Forum: General programming
Topic: Two transparency levels
Replies: 2
Views: 103

Re: Two transparency levels

There are many ways to do this in Hollywood, but here's an example of few cases: @DISPLAY {Color=#BLUE} @BRUSH 1, "ram:1.png", {LoadAlpha=True} ; Load a brush that already has a (alpha) transparent color @BRUSH 2, "ram:2.png", {Transparency=#BLACK} ; Load a brush and set a color in it transparent @B...
by jPV
Mon May 06, 2019 2:27 pm
Forum: Newbie questions
Topic: A few beginner questions
Replies: 5
Views: 191

Re: A few beginner questions

Looking at CircleText.hws that have the "Repeat - waitevent - forever" loop. After reading a bit in the docs, I think I get a clue on how that works. The program will stay in this loop, but will be triggered by the event set by SetInterval, so it goes through the p_mainloop once every 40ms. So far ...
by jPV
Sun May 05, 2019 6:21 pm
Forum: Newbie questions
Topic: How makes scroll with a picture?
Replies: 20
Views: 1913

Re: How makes scroll with a picture?

here is my code: http://www.morguesoft.eu/GrimoriumPDF.hws.txt That link doesn't work. BTW. I quickly tried GrimorimPDF and noticed that you have used toggle menuitems where it isn't necessary. It isn't logical when you get the checkmark on items you use to select some action which isn't a selectio...
by jPV
Sun May 05, 2019 9:59 am
Forum: Amiga IDE questions
Topic: Prefered Amiga IDE
Replies: 8
Views: 351

Re: Prefered Amiga IDE

I love to code in Cubic IDE and I think it's well up to the job with the latest Hollywood. The rare occasions I've quickly tried the Windows IDE I've felt it's lacking compared to Cubic IDE, so I guess it's more about what you get used to :) I don't know what I'd be missing in Cubic IDE currently......
by jPV
Sun May 05, 2019 9:53 am
Forum: MUI Royale
Topic: An array of ID's
Replies: 10
Views: 1135

Re: An array of ID's

Yes, it can be put anywhere. You just replace all occurences of the "placeholder" string in the xml by something else. It isn't defined anywhere in what format the placeholder should be % in front of it just makes it less likely to accidently replace wrong words. So, for example, you can have FixWid...
by jPV
Fri Apr 26, 2019 7:09 am
Forum: Amiga IDE questions
Topic: Syntax highlighting in CubicIDE Glitch.
Replies: 2
Views: 177

Re: Syntax highlighting in CubicIDE Glitch.

Hmm.. FormatStr does work here, do you have the latest (8.0) add-on installed?

Only thing that I remember is that StartsWith doesn't give quick help, but is hilited&corrected nevertheless.