does code completion work with classes?

Started by Fred Harris, November 06, 2009, 12:01:49 AM

Previous topic - Next topic

Fred Harris

Hi All!

     Havn't spent too much time with the new FireFly 3 yet (only downloaded it last night) but today I put together a real ring-dinger - a button on the middle of a form that pops up a Hello World! when clicked (hey!, even Paul Squires had to start somewhere, right?).

     Anyway, in the little time I played with it I found that the codetips (Intellisense) has quite a bit of stuff in it from the various includes FireFly loads, and I even found that if I create a TYPE and put it in an include I can get it to pop up when I type the '.' !!! Awesome!  That's really the single biggest thing I've missed after saying farewell to Microsoftville.  However, I wasn't able to get it to recognize a class yet.  I put my CSql class in the include named like so...

Class CSql
.
.
  Interface ISql : Inherit IUnknown   
....

and in the main Form's button click procedure I did this...

Local Sql As ISql

Let Sql=Class "CSql"
Sql.strDriver="Microsoft Access Driver (*.mdb)"
Sql.strDBQ=CurDir$+"\TestData.mdb"

And as you can see I invoked instance variables of the class but when I typed the '.' no pop up came up listing the members of the class.  I have things set up OK as it compiles and runs; its just that I'm not getting the intellisense pop ups to show with my class.  You know, sometimes it doesn't always work in the big time MS and other development environments either.  I think it has something to do with the phases of the moon or how the planets are aligned or something.  Anyway, does it work with classes?  Is there something that has to be done to get it to work?  Sometimes I get messed up on terminology.  Specifically I'm speaking about member selection operations - not the code hints that let you know what the parameters of functions are.


Paul Squires

Hi Fred,

Yes, you're right - classes are not parsed.... yet. :)

I can certainly see it being implemented in FF3 - I'm starting to use com and classes a lot more these days.

Paul Squires
PlanetSquires Software

Fred Harris

Thanks for the info Paul.  Rome wasn't built in a day, I know!  Oh! And you don't sound anything like you look! :)

I enjoyed your presentation.  I ought to try to do something like that for the poor folks who use my programs too.