Am 10.01.2017 06:06 schrieb "Jon Foster" <jon-li...@jfpossibilities.com>: > What I don't quite get from your example is using "self" as the second argument to setPositiveButton() & setNegativeButton. That parameter is asking for an OnClickListener() class. When I tried that I received a compile time error as I expected.
That's because in my case the activity also implements the corresponding interface, just ignore that ;) > Yes, the AAActivity class has a "setTitle()" method. However it sets the title for the activity. Where as the AAAlertDialog.InnnerBuilder.setTitle() method sets a title on the dialog window. I actually decided I like it better without, but I'm still experimenting. Okay. Oh and regarding Free: on JVM garbage collection is used also with FPC. Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal