Re: [MBS] Setting a date property of a ABPersonMBS

2015-12-09 Thread Christian Schmitz
> Well, I guess Date objects are valid too and Christian just didn't update the 
> docs.

Right. Docs are not always up to date. Sorry.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] Setting a date property of a ABPersonMBS

2015-12-09 Thread Maximilian Tyrtania
Hmm, wait a minute, now I seem to have success with a simple date object too. 
Which is surprising again, seeing that the ABRecordMBS.setValue(value as 
variant, propertyName as string)-docs (at 
https://www.monkeybreadsoftware.net/addressbook-abrecordmbs-method.shtml) say:

Value can be Integer, Double, Dictionary, MultiValueMBS/MutableMultiValueMBS or 
String.
Returns true if the value was set successfully

Well, I guess Date objects are valid too and Christian just didn't update the 
docs.

So - nevermind.

Maximilian Tyrtania
http://www.contactking.de

> Am 09.12.2015 um 10:50 schrieb Maximilian Tyrtania :
> 
> ...appears to be a tricky affair, the only way I could find was
> 
>  dim d as new date
>  dim dateAsNSDate as new NSDate(d) //that's the NSDate class from Mac OS 
> Lib
>  if 
> addressBookContact.SetValue(dateAsNSDate,theAB.kABModificationDateProperty) 
> then
> ...
> 
> which I would happily use if it wasn't for the fact that the Mac OS Lib 
> doesn't work with 64 bit targets. Is there another way I am not aware of?
> This is a desktop app, so I can't use the Addressbook kit.
> 
> Thanks, Max
> 
> Maximilian Tyrtania
> http://www.contactking.de
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> Mbsplugins_monkeybreadsoftware.info mailing list
> mbsplugins@monkeybreadsoftware.info
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] Is Graphics.DrawArcMBS depracated?

2015-12-09 Thread Richard Gorbutt
Thanks for the answer. Makes sense. I use the DynaPDF for creating a PDF
file, can it be used for displaying on a Canvas/Screen?



On Mon, Dec 7, 2015 at 1:53 PM, Christian Schmitz <
supp...@monkeybreadsoftware.de> wrote:

>
> > Am 07.12.2015 um 18:42 schrieb Richard Gorbutt :
> >
> > The docs say it uses the old QuickDraw and other functions in that page
> > show depracated.
>
> Yes. It's deprecated.
>
> The current implementation is only for Mac Carbon via QuickDraw and for
> Windows 32-bit using QuickTime.
>
> Other platforms will raise an exception.
>
> We do have Arc drawing in DynaPDF and CGContextMBS classes.
>
> Sincerely
> Christian
>
> --
> Read our blog about news on our plugins:
>
> http://www.mbsplugins.de/
>
> ___
> Mbsplugins_monkeybreadsoftware.info mailing list
> mbsplugins@monkeybreadsoftware.info
>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
>
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


[MBS] DrawRotatesTextMBS ugly in Windows

2015-12-09 Thread Richard Gorbutt
Hi,

So, a few years back I tried to use DrawRotatedTextMBS and had awful
results on Windows 7. This was from the time.

*Re: [MBS] DrawRotatedTextMBS Issue**Date: 17.02.13 21:21 (Sun, 17 Feb 2013
21:21:39 +0100)**From: Christian Schmitz*
Am 17.02.2013 um 12:58 schrieb Christian Schmitz <>:

>
> Am 17.02.2013 um 04:45 schrieb Richard Gorbutt <>:
>
>> Hi all,
>>
>> When I use g.DrawRotatedTextMBS  etc,
no matter what font I select as
>> g.TextFont (before the line), in Windows 7 using MBS
 13.0, & RS 2012 r2.1,
>> it appears to be the System font (as looks good in 12pt, but all other
>> sizes look horrible)
>
> I'll have to check this.

> Fixed for next plugins
.


So, I used StringShape at the time, however I'm back to DrawRotatedTextMBS,
and on the Mac, looks really really nice, but on Windows looks awful and
jaggy. I've tried g.AntiAlias = true etc and still the same. GDI+ is on
although at the time you mentioned it didn't use GDI+. The demo example
also looks awful in Windows.

Am I missing anything?

Thanks, Richard.
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] Is Graphics.DrawArcMBS depracated?

2015-12-09 Thread Christian Schmitz

> Am 09.12.2015 um 21:54 schrieb Richard Gorbutt :
> 
> Thanks for the answer. Makes sense. I use the DynaPDF for creating a PDF
> file, can it be used for displaying on a Canvas/Screen?

Of course. Some users who generate PDFs also use those PDFs for showing 
graphics by rendering a picture of the page and showing it.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] DrawRotatesTextMBS ugly in Windows

2015-12-09 Thread Christian Schmitz

>  GDI+ is on
> although at the time you mentioned it didn't use GDI+. The demo example
> also looks awful in Windows.

No. But maybe I can move it to GDI+ someday.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] Is Graphics.DrawArcMBS depracated?

2015-12-09 Thread Richard Gorbutt
Ah, looks like I would need the Pro license to be able to do that. Back to
my stringshape. :-)

On Wed, Dec 9, 2015 at 4:13 PM, Richard Gorbutt  wrote:

> Huh, sounds like I need to read the DynaPDF manual and see what I can do.
> Interesting. :-)
>
> Many thanks, Richard
>
> On Wed, Dec 9, 2015 at 4:00 PM, Christian Schmitz <
> supp...@monkeybreadsoftware.de> wrote:
>
>>
>> > Am 09.12.2015 um 21:54 schrieb Richard Gorbutt :
>> >
>> > Thanks for the answer. Makes sense. I use the DynaPDF for creating a PDF
>> > file, can it be used for displaying on a Canvas/Screen?
>>
>> Of course. Some users who generate PDFs also use those PDFs for showing
>> graphics by rendering a picture of the page and showing it.
>>
>> Sincerely
>> Christian
>>
>> --
>> Read our blog about news on our plugins:
>>
>> http://www.mbsplugins.de/
>>
>> ___
>> Mbsplugins_monkeybreadsoftware.info mailing list
>> mbsplugins@monkeybreadsoftware.info
>>
>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
>>
>
>
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


[MBS] [ANN] 15.5pr1

2015-12-09 Thread Christian Schmitz
Hi,

* Added CGColorSpace additions for OS X 10.11.2
* Updated our CoreImage Filters to OS X 10.11 El Capitan.
* Added more CoreImage classes and functions. e.g. for QRCode recognition.
* Fixed an issue with DynaPDF tables and haveMore returning true in where it 
should have returned false.
* Updated openssl to 1.0.2e.
* Fixed constructors taking handle for NSMenuItemMBS and NSMenuMBS to work.
* Fixed CallMethodLaterMBS time parameter. Now more precise.
* Added NSAppleEventDescriptorMBS.descriptorWithCurrentProcessSerialNumber and 
NSAppleScriptMBS.executeSubroutine.
* Updated DynaPDF to version 3.0.46.137.
* Added more FSEvents functions.
* Improved LDAPMBS constructors to work cross platform in both flavors.
* Changed CURLEmailMBS class to check whether you called Constructor when 
subclassing.
* Added SQLDatabaseMBS.ConnectMT method.
* Fixed a problem with escaping names in emails.


Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info