Search found 4 matches

by pstryk
Thu Sep 08, 2022 7:28 pm
Forum: General Discussion
Topic: [SEEK] PDF Scroller
Replies: 5
Views: 1035

Re: [SEEK] PDF Scroller

On the page http://libello.is-great.net you can find the "Pdf Viewer" which was written with Purebasic using the PDFium.dll. I could send you the source code, after a few changes it would meet the requirements.
by pstryk
Sat Oct 13, 2018 1:39 pm
Forum: Coding Questions
Topic: WebGadget - show Properties?
Replies: 2
Views: 1109

Re: WebGadget - show Properties?

Hi,
You can use this:


Enumeration 1
#OLECMDID_OPEN
#OLECMDID_NEW
#OLECMDID_SAVE
#OLECMDID_SAVEAS
#OLECMDID_SAVECOPYAS
#OLECMDID_PRINT
#OLECMDID_PRINTPREVIEW
#OLECMDID_PAGESETUP
#OLECMDID_SPELL
#OLECMDID_PROPERTIES
#OLECMDID_CUT
#OLECMDID_COPY
#OLECMDID_PASTE
#OLECMDID_PASTESPECIAL ...
by pstryk
Fri Aug 04, 2017 5:39 pm
Forum: Coding Questions
Topic: How to get Pdfium to work (done)
Replies: 47
Views: 23056

Re: How to get Pdfium to work (done)

@IdeasVacuum,
You have forgotten to use "FPDFText_LoadPage@4" function before "CountChars".
by pstryk
Fri Jan 20, 2017 4:06 pm
Forum: Windows
Topic: How to smoothly scroll an Editor Gadget?
Replies: 3
Views: 2596

Re: How to smoothly scroll an Editor Gadget?

With WinApi:


OpenWindow(0,60,60,500,500,"Scroll")
EditorGadget(0,0,0,500,500)
position.POINT
For x=0 To 500
AddGadgetItem(0, x, "Line: "+Str(x))
Next x
GetScrollRange_(GadgetID(0), #SB_VERT, @minpos, @maxpos)
While event<>#PB_Event_CloseWindow And maxpos>position\y
If time+10 ...