Andrew Elder
3/27/2012 10:30:00 AM
On 27/03/2012 8:43 PM, Farnsworth wrote:
> "Andrew"<aelder@melbpc.org.au> wrote in message
> news:jkrtpb$s94$1@dont-email.me...
>> On 27/03/2012 3:12 PM, BeeJ wrote:
>>> What is wrong with some graphics commands?
>>> Is there a proper work-around?
>>>
>>> 1) use the arrow to run and it errors.
>>> 2) use Ctrl-F5 and it errors.
>>> 3) use File\Make and it compiles.
>>>
>>> Sometimes I have to close the IDE and reopen.
>>> Sometimes even that does not work.
>>>
>>> After I compile it runs.
>>>
>>> Error message says bad parameters but all he parameters are just fine.
>>> It is not even trying to execute the line.
>>>
>>> On Error Resume Next
>>> fColorPicker.Circle (g_tSelectedPosRect.x, g_tSelectedPosRect.y), 5
>>> 'Erases Previous Circle
>>>
>>>
>>
>> I have seen this symptom occasionally...after editing the .Line statement
>> VB throws an error (Syntax Error, I think, it was a while ago), that may
>> not even be the line I just edited.
>>
>> I fixed it by re-starting the IDE, and it works fine until I edit a line
>> with a .Line in it.
>>
>> Seems the parser gets confused, but an IDE restart never fails to fix the
>> problem.
>
> Are you guys using "Auto syntax check"? That's unprofessional<g>.
>
>
No, "Auto Syntax Check" is off!