Re: [Lazarus] Indy vs Synopse: POP3

2018-07-29 Thread Graeme Geldenhuys via Lazarus
On 29/07/18 13:27, Marcos Douglas B. Santos via Lazarus wrote:
> As Indy looks like has a "new mechanism" to authentication, I'm thinking if
> Synopse still work for that job. If Indy has no dependencies, I would like
> to use it. I believe Synopse has SSL dependencies... I don't know.
> 
> Have you already compare both frameworks? Wich one should I choose for this
> job?

First off, this is the wrong list to ask these questions. Indy has its
own dedicated support newsgroups and web forums (listed on their
website). They are active and your questions will be answered very
quickly. You can also search existing questions (the newsgroups have a
larger history that the web forums as far as I know). So you'll probably
find your answers just by doing that.

I've used both Synapse and Indy in the past. I preferred the interfaces
that Indy components supplied. Indy also has a ton of working examples
for pretty much every component they supply. StackExchange also has
loads of Indy support questions and answers.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Indy vs Synopse: POP3

2018-07-29 Thread Marcos Douglas B. Santos via Lazarus
I need to read e-mails in a few accounts using POP3.
I haven't use Indy for years, but I've installed the version 10 in Lazarus
1.9 (trunk) using FPC 3.1.1.
It seems that things changed like SASLMechanism, which does't work when I
click in the button to open the editor, showing me this error:
TGlyphBitmap: Unsupported Resourcetype: XPM Resource Name: DIS_ARROWRIGHT

But maybe this property can be set directly to the code... anyway.

Do you have a simple demo (I haven't found any about it) that show how
connect in a Google account, using POP3?
Is there any dependencies as dlls?

As Indy looks like has a "new mechanism" to authentication, I'm thinking if
Synopse still work for that job. If Indy has no dependencies, I would like
to use it. I believe Synopse has SSL dependencies... I don't know.

Have you already compare both frameworks? Wich one should I choose for this
job?

best regards,
Marcos Douglas
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Printer printable width

2018-07-29 Thread Michael Van Canneyt via Lazarus



On Sat, 28 Jul 2018, Graeme Geldenhuys via Lazarus wrote:


On 28/07/18 14:05, Michael Van Canneyt via Lazarus wrote:

How to obtain the origin of the printable area ?
Is the PageWidth/Pageheight relative to this origin ?


As far as I know (or how I always understood print drivers), the
PageWidth and PageHeight is the full page size (eg: A4 = 210x297mm).


No, as far as I can see, this is paperwidth and papersize.



The printable area is printer dependent. eg: my laser printer can't
print in a 5mm border around the page. Yet my inkjet printer can print
full page size. Same software was used to test this.


I know this, and it looks like this is why PageWidth and PageHeight were 
introduced.


But without knowing what the origin of this pagewidth is, these are
useless properties.

I must now resort to trial and error to draw a rectangle with sides at equal
distances from the paper borders. e.g. 1 cm from the paper edges. The
'logical' choices (as also used in the selectprinter demo) do not seem to work.

Michael.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus