Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Obscure IDE bug
Fri, Mar 8 2013 8:44 AMPermanent Link

Matthew Jones

Create a button, called btnOne. Double click to create an event, put in a comment
line.
Create another button, called btnTwo. Edit the click event to be the btnOneClick
event handler. All is good.

Now empty the event handler, and the IDE removes the event, and clears the OnClick
event for btnOne. But it doesn't change btnTwo's OnClick, and now generates a
"[Error] fControl.wbs (0,0): The referenced variable, parameter, or function
btnOneClick does not exist" but it is hard to work out why, because it doesn't
exist, and btnOne doesn't reference it.

I guess some sort of mention of where it is referenced might help.

/Matthew Jones/
Fri, Mar 8 2013 11:30 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Now empty the event handler, and the IDE removes the event, and clears
the OnClick event for btnOne. But it doesn't change btnTwo's OnClick, and
now generates a "[Error] fControl.wbs (0,0): The referenced variable,
parameter, or function btnOneClick does not exist" but it is hard to work
out why, because it doesn't exist, and btnOne doesn't reference it.  >>

I'll make sure that this is fixed.  The issue is that btnTwo still
references the btnOneClick event in its OnClick event (object inspector).

Tim Young
Elevate Software
www.elevatesoft.com


Image