« Updater Kit for Linux… | Home | New video about Updat… »

A strange problem with auto complete and DynaPDF

Please email me if you know how to fix this:

First if you have this code in REAL Studio:
dim pdf as new DynapdfMBS
dim ColorSpace as integer = pdf.CreateSeparationCS("dave", pdf.kcsDeviceCMYK,-1, pdf.CMYK(0,0,0,100))
if you autocomplete after the pdf you see that Shuffle is suggested and from the status line below you see that REALbasic things we have a 4 dimensional array here!

Now go and change the call to the static method CMYK. Use DynaPDFMBS (class name) to reference to the method instead of pdf (object name). REALbasic now does not auto complete at all and has no idea where pdf is coming from.

Now you go and change the reference to the constant from pdf to DynaPDFMBS. Now autocomplete works again:

This bug is in RB 2009r2 to 2010r2a6. Check Feedback app for status: Report 11761
20 03 10 - 16:40
one comment

I’ve seen this with other MBS items that had built-in similar RB options. After changing the Super to the RB control and then back to the MBS super, the autocomplete then knew the MBS details properly. I suspect that there is something in the way the IDE parses the plugins during startup.
Tim Jones (Email) - 21 03 10 - 21:40

Remember personal info?

Emoticons / Textile

Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.