Is there anywhere to upload a zip file of my code so far. Cannot post as the code also includes an sqlite database which is required for the code to run.
Any help appreciated.
Decided to use Dropbox one other suggestion below.
Search found 1244 matches
- Sun Sep 13, 2015 2:40 pm
- Forum: Coding Questions
- Topic: (Solved)Newbie need to upload zip file somewhere
- Replies: 12
- Views: 2065
- Sun Sep 13, 2015 2:33 pm
- Forum: Coding Questions
- Topic: How to print landscape?
- Replies: 31
- Views: 9648
Re: How to print landscape?
Yes the code posted there is just my initial thoughts. I have not posted the code as is at the present time as I am still in the thinking phase. Landscape added after that post and tested on MAC OSX as well. Problem identified with useing on mac osx where if in drawing pahse and a requester is fired...
- Sun Sep 13, 2015 4:40 am
- Forum: Tricks 'n' Tips
- Topic: DPI independent Print
- Replies: 7
- Views: 5585
Re: DPI independent Print
Another old thread. The new vector drawing routines in PB 5.4 have made printing a fairly eay task. Check out prinr and print preview topic. This is DPI independent etc and prints in landscape when required and will also accept paper sizes a printer can support. Still being developed but almost ther...
- Sun Sep 13, 2015 4:35 am
- Forum: Coding Questions
- Topic: How to print landscape?
- Replies: 31
- Views: 9648
Re: How to print landscape?
Just in case anyone is still wondering how to print in landscape. The new vector drawing commands in PB 5.4 allow this quite easily and are dpi independent. Check out Print and print preview. You will need the latest 5.4 beta test to use it. Do not know how to post link to threads yet so you will ne...
- Sun Sep 13, 2015 4:28 am
- Forum: Coding Questions
- Topic: Printer Text Font Size
- Replies: 7
- Views: 2566
Re: Printer Text Font Size
Old thread i know Problem now a little mute with the new vector print routines in PB 5.4. Just been through similar exercise. Check out Print and print preview. It is a little project I have started to preview and then print what i want where I want. The text sizes befuddled me at first till it was ...
- Sat Sep 12, 2015 7:17 pm
- Forum: Tricks 'n' Tips
- Topic: Path Module (RoundBox, Hexagon, WaveLine, LoopLine)
- Replies: 15
- Views: 4998
Re: Path Module (RoundBox, Hexagon, WaveLine, LoopLine)
Hi eddy
Great. Do you mind if I try to incorporate these into my Print and Preview Module?
Cheers
Great. Do you mind if I try to incorporate these into my Print and Preview Module?
Cheers
- Sat Sep 12, 2015 2:29 pm
- Forum: Feature Requests and Wishlists
- Topic: Project Options Add File
- Replies: 1
- Views: 1056
Project Options Add File
Is it possible when adding a file to a project for that file to be copied to the project folder?
- Fri Sep 11, 2015 5:08 pm
- Forum: Linux
- Topic: GTK-Print-Dialog example (for use until PB-Version is fixed)
- Replies: 2
- Views: 3480
Re: GTK-Print-Dialog example (for use until PB-Version is fi
New to this so please forgive me if this is the wrong place to post. Just started to use PB for windows and OSX and found that print and preview all seem to be Platform specific so I have started to write my own print and preview modules attempting to use only native PB commands from version 5.4 Bet...
- Fri Sep 11, 2015 6:06 am
- Forum: Coding Questions
- Topic: [Done] Print and print preview
- Replies: 25
- Views: 9203
Re: Print and print preview
Just a quick update. First thanks for all the help in the forums for Fonts and other bits and pieces. Text now centres correctly and I can now print portrait or landscape. It has also occurred to me that the print routines can be exapanded to do anything that is possible with the vector drawing comm...
- Fri Sep 11, 2015 4:38 am
- Forum: Coding Questions
- Topic: (Solved) Centre text in image
- Replies: 5
- Views: 1219
Re: Centre text in image
Thanks Demivec, Just the kick up the rear end I needed. Found my problem. Selecting fonts from font requester in point sizes but drawing onto an image representing mm. I was not converting the font point size to mm when displaying so getting weird results. It now seems to reflect the real world. Che...
- Thu Sep 10, 2015 5:47 pm
- Forum: Coding Questions
- Topic: (Solved) Centre text in image
- Replies: 5
- Views: 1219
Re: Centre text in image
Just been trying this to get text width If OpenWindow(0, 0, 0, 600, 300, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) CanvasGadget(0, 0, 0, 400, 400) LoadFont(0, "Arial", 20) ;, #PB_Font_Italic) ;If StartVectorDrawing(CanvasVectorOutput(0, #PB_Unit_Pixel ))...
- Thu Sep 10, 2015 4:25 pm
- Forum: Coding Questions
- Topic: (Solved) Change ImageGadget image at runtime
- Replies: 4
- Views: 962
Re: Change ImageGadget image at runtime
Thanks working
this can be closed if I knew how
this can be closed if I knew how
- Thu Sep 10, 2015 4:24 pm
- Forum: Coding Questions
- Topic: (Solved) Centre text in image
- Replies: 5
- Views: 1219
Re: Centre text in image
Thanks for the reply.
That is what I have been trying. The problem seems to be getting the text width correct for the image useing the vectortextwidth command.
That is what I have been trying. The problem seems to be getting the text width correct for the image useing the vectortextwidth command.
- Thu Sep 10, 2015 2:40 pm
- Forum: Coding Questions
- Topic: (Solved) Centre text in image
- Replies: 5
- Views: 1219
(Solved) Centre text in image
Help Can anyone show me how to centre a string in an image useing the vectr drawing functions in PB 5.4? I have been playing around with vectortextwidth etc to no avail. So just text centred in an image then display image in image gadget. The text can be of any length in any font and size but is lim...
- Tue Sep 08, 2015 7:16 am
- Forum: Coding Questions
- Topic: [Done] Print and print preview
- Replies: 25
- Views: 9203
Re: Print and print preview
Right here is my code so far. I have tested it (Not thoroughly) so please try it at your own risk. It allows you to select a printer and page size plus orientation. Not managed to get printer page sizes into combo as yet still working on it. Code removed as it was buggy and did not print in landscap...