Search found 1246 matches

by collectordave
Fri Sep 04, 2015 1:24 pm
Forum: Coding Questions
Topic: (Solved) Menu not displaying on MAC
Replies: 5
Views: 1307

(Solved) Menu not displaying on MAC

I am Using 5.4Beta.

Created small programme on windows version with a menu all works fine.

Move code to MAC running 5.4 beta and no menus appear. I have t5ried using the forms designer and it will not put a menu on a new form.

Am i missing something?

Well yes i was. Reading MAC for Dummies now!
by collectordave
Fri Sep 04, 2015 7:03 am
Forum: Coding Questions
Topic: [Done] Print and print preview
Replies: 25
Views: 8121

Re: Print and print preview

Just a quick update. I now have a routine to provide Print Preview and printing, very rough but seems to work. No API calls at all just PB commands so should be Ok. I have print line,print box and print text routines, working on print image. All routines are using the vector drawing functions so PB ...
by collectordave
Thu Sep 03, 2015 5:41 am
Forum: Coding Questions
Topic: [Done] Print and print preview
Replies: 25
Views: 8121

Re: Print and print preview

Alittle digging into 5.4 Beta has given me this. I think it is just what I was looking for. pb 5.4 Beta If PrintRequester() If StartVectorDrawing(PrinterVectorOutput(#PB_Unit_Millimeter)) Debug "Printer Page Height = " + VectorOutputHeight() + " mm" Debug "Printer Page Width...
by collectordave
Wed Sep 02, 2015 8:44 pm
Forum: Coding Questions
Topic: [Done] Print and print preview
Replies: 25
Views: 8121

Re: Print and print preview

Just downloaded 5.4 beta

Looks very interesting will get back after a while

thanks all
by collectordave
Wed Sep 02, 2015 5:01 pm
Forum: Coding Questions
Topic: [Done] Print and print preview
Replies: 25
Views: 8121

Re: Print and print preview

Thanks for the reply,

Does the PB 5.40 beta version have any extra printer functions such as returning the paper size selected or allowing landscape orientation?
by collectordave
Wed Sep 02, 2015 3:12 pm
Forum: Coding Questions
Topic: [Done] Print and print preview
Replies: 25
Views: 8121

Re: Print and print preview

Ok more searching later. i can get current screen resolution from the desktop functions etc. No way of knowing what size monitor that desktop is running on so will have to live with that. Also found that you can get printer width and height in pixels. Still cannot find what size paper has been selec...
by collectordave
Wed Sep 02, 2015 11:20 am
Forum: Coding Questions
Topic: [Done] Print and print preview
Replies: 25
Views: 8121

[Done] Print and print preview

Managed to write a Print and Preview module available here http://www.purebasic.fr/english/viewtopic.php?f=12&t=65192 So this thread at least for me is no longer open thanks for all the help. New to PB so please forgive me if this has been done to death. I am looking for a print preview and prin...
by collectordave
Tue Sep 01, 2015 6:09 pm
Forum: Coding Questions
Topic: (Solved) Change ImageGadget image at runtime
Replies: 4
Views: 802

(Solved) Change ImageGadget image at runtime

Is it possible to change the image in an imagegadget dynamically?

As mentioned here setgadgetstate works fine.
by collectordave
Mon Aug 31, 2015 5:03 am
Forum: Bugs - IDE
Topic: "Not Responding" when I leave PureBasic?
Replies: 18
Views: 4722

Re: "Not Responding" when I leave PureBasic?

just noticed this After running a few example progs and some of my own trials not all closed correctly and left a process running in task manager. Which i had to kill manually. Do not know the extent of this or even if it is a problem as using VB sometimes has the same effect. I have had no issue wi...
by collectordave
Sat Aug 29, 2015 4:28 pm
Forum: Mac OSX
Topic: Programming on the Mac platform
Replies: 18
Views: 66960

Re: Programming on the Mac platform

It Works!

Thanks possibly saved me hours.
by collectordave
Sat Aug 29, 2015 2:53 pm
Forum: Mac OSX
Topic: Programming on the Mac platform
Replies: 18
Views: 66960

Re: Programming on the Mac platform

Quick update on the above.

When i create the executable .app the splash screen shows Ok! Just not when running in compile and run.
by collectordave
Sat Aug 29, 2015 2:41 pm
Forum: Mac OSX
Topic: Programming on the Mac platform
Replies: 18
Views: 66960

Re: Programming on the Mac platform

Just stating out. i have written a small program to display a splash screen using a .png image in an image gadget. Works fine on windows 7. Moved whole thing to MAC and program runs but no image is displayed in the image gadget. If I add image at design time as i add the image gadget it works. Code ...
by collectordave
Sat Aug 29, 2015 6:01 am
Forum: Announcement
Topic: PBDev - PureBasic Developer - freeware version
Replies: 61
Views: 27720

Re: PBDev - PureBasic Developer - freeware version

Thanks

Will get to grips with it.
by collectordave
Sat Aug 29, 2015 5:35 am
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 472
Views: 211161

Re: PurePDF Version 2.0

Brilliant

Thanks
by collectordave
Fri Aug 28, 2015 7:30 pm
Forum: Announcement
Topic: PurePDF Version 2.0
Replies: 472
Views: 211161

Re: PurePDF Version 2.0

Hi all just joined.

Is purepdf.pb still available with an example?

Gratefull for any help