Search found 27 matches

by Ramses800
Sat Jan 21, 2017 6:17 pm
Forum: Tricks 'n' Tips
Topic: PureSVG - now with LoadSVG() !
Replies: 67
Views: 42931

Re: PureSVG - now with LoadSVG() !

I am trying to figure out how to use PureSVG for creating a larger(well, slightly larger at least) SVG and importing(and positioning) smaller, already existing SVGs(created in Inkscape) into the created SVG but I dont find any command like PBs own DrawImage/DrawAlphaImage?
Is there anyway to do this ...
by Ramses800
Mon Dec 19, 2016 12:47 am
Forum: Coding Questions
Topic: LoadImage with SVG files?
Replies: 1
Views: 1384

LoadImage with SVG files?

I am looking for a way to import SVG images into a vectordrawing, is it possible to use LoadImage(or equivalent command) with a SVG file?
by Ramses800
Thu Mar 17, 2016 5:55 pm
Forum: General Discussion
Topic: Gdiplus.dll dependency from 5.40?
Replies: 8
Views: 3766

Re: Gdiplus.dll dependency from 5.40?

Found it!
The concept works with my small test program(from above)!

Even stranger though, is that if I just compile the test program to ASM and re-assemble it again without a removing the Vectordrawing lines, the file dependencies are still there(looking at it with Dependency Walker) but it ...
by Ramses800
Thu Mar 17, 2016 5:42 pm
Forum: General Discussion
Topic: Gdiplus.dll dependency from 5.40?
Replies: 8
Views: 3766

Re: Gdiplus.dll dependency from 5.40?

Why no use the older Version. if you need support that old OS.
There are some features of 5.40+ that I use, and in future software, I might use even more.

Or Compile to ASM and remove the 5 linse with "VectorDrawing" in it's name and recompile.
This sound interesting but I cant find anything in ...
by Ramses800
Thu Mar 17, 2016 5:35 pm
Forum: General Discussion
Topic: Gdiplus.dll dependency from 5.40?
Replies: 8
Views: 3766

Re: Gdiplus.dll dependency from 5.40?

It did.
I must admit though, that I was hoping for a way to remain true to the stand-alone aspect of Purebasic with no additional libraries needed.....
by Ramses800
Thu Mar 17, 2016 5:09 pm
Forum: General Discussion
Topic: Gdiplus.dll dependency from 5.40?
Replies: 8
Views: 3766

Gdiplus.dll dependency from 5.40?

I stumbled onto a problem when I fired up a Windows 2000 to test my PB 5.41-program.
I got a message saying that the file GDIPLUS.DLL can´t be located, and yes, that file does not exist on a standard Windows 2000.
However, an older(v5.31) PB-program worked just fine previously so I started ...
by Ramses800
Mon Feb 01, 2016 8:23 am
Forum: Coding Questions
Topic: Evaluate Macro parameter before macro execution?
Replies: 6
Views: 1605

Re: Evaluate Macro parameter before macro execution?

Thanks stargate, that clearifies it to me!
by Ramses800
Mon Feb 01, 2016 7:26 am
Forum: Coding Questions
Topic: Evaluate Macro parameter before macro execution?
Replies: 6
Views: 1605

Re: Evaluate Macro parameter before macro execution?

Thanks for the replies!
But the thing that is confusing me, seeing the outputted results, it seems that the macro indeed can use the incremented value in this part

Code: Select all

Debug "Macro input parameter:" + number
but not in this part

Code: Select all

Debug "Variable value :" + Str(i#number)
by Ramses800
Sun Jan 31, 2016 9:00 pm
Forum: Coding Questions
Topic: Evaluate Macro parameter before macro execution?
Replies: 6
Views: 1605

Evaluate Macro parameter before macro execution?

I'm trying to figure out how to feed a variable to a macro and use it to assemble it into another variable name inside the macro. The ting is , I would like call the macro inside a loop like below but the parameter used in the concantenated variable name in the macro is the literal value of the ...
by Ramses800
Sat Jan 30, 2016 6:38 pm
Forum: Coding Questions
Topic: Window in a Module?
Replies: 15
Views: 3636

Re: Window in a Module?

@Danilo: Great tip, just what I was looking for!
by Ramses800
Sat Jan 30, 2016 12:03 pm
Forum: Coding Questions
Topic: Window in a Module?
Replies: 15
Views: 3636

Re: Window in a Module?

A followup question about BindGadgetEvent,
Is it possible to supply the Callback with a parameter? I'm thinking of keeping track of multiple windows opened from the module. Something like this(raises a syntax error)
BindGadgetEvent(iThisCloseButton,@btnClose_Click(iThisWindow),#PB_EventType ...
by Ramses800
Thu Jan 28, 2016 12:09 pm
Forum: Coding Questions
Topic: Window in a Module?
Replies: 15
Views: 3636

Re: Window in a Module?

Thanks for all the great advice! Off to coding it all up now....
by Ramses800
Tue Jan 26, 2016 8:59 pm
Forum: Coding Questions
Topic: Window in a Module?
Replies: 15
Views: 3636

Window in a Module?

Having a program with a main window open, is it possible to use a OpenWindow in a Module and get the events for that seconday windows gadgets to work?
I am trying to write a selfcontained module(with its own window) for general things to be reused in different project.
Another benefit would be to be ...
by Ramses800
Sun Jan 24, 2016 4:26 pm
Forum: Coding Questions
Topic: restore label as a parameter to a procedure?
Replies: 28
Views: 9689

Re: restore label as a parameter to a procedure?

Good point, sys64802! Thanks for the input!