I'm relatively new to REALbasic, and am in the midst of a project
using version 2007r5. Things have been going along just fine, but
suddenly tonight the code-completion feature has selectively stopped
working. I can't seem to find a pattern as to what still works and
what doesn't... so far it looks fairly random, as far as I can tell.
As a for-instance, I'm in the middle of populating the properties of
an object called 'Style', the instance of which I've labeled
'tempStyle', from a database recordset. Here's a code snippet:
while not tempRs.EOF
Dim tempStyle As new Style
tempStyle.ClassificationID =
tempRs.Field("ClassificationID").StringValue
tempStyle.ColorMin = tempRs.Field("ColorMin").IntegerValue
tempStyle.CountryOfOrigin =
tempRs.Field("CountryOfOrigin").StringValue
In the above (and for many similar lines below it filling up
additional properties), by the time I had typed "temps", the auto-
completion feature was able to take over. I could hit 'tab', and the
full object name would fill in as 'tempStyle' with correct
capitalization. Then inserting a dot and pressing 'tab' again gave me
a list of all the properties and methods associated with the Style
class.
Suddenly, this has stopped working... both for my 'tempStyle' object,
and also for the recordSet ('tempRs'). In this same window, auto-
completion has pretty much stopped altogether... but if I create a new
instance of Style in a different method somewhere else, autocompletion
works again. I tried copying all the code into a new method, but the
problem followed along.
Does anyone have any experience with what might be happening here? My
apologies if I've left out any critical information... I'd be
extremely grateful for any advice on how to get things working
properly again, and would of course be happy to provide any additional
details.
Thanks in advance!
Jon
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|