[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing proxy properties



On 22/9/24 4:20 pm, BB wrote:

Maybe I'm being overly ambitious here.

If $control.Proxy.Row < 0 Then Return

$control is a custom control with a gridview in it, which is the proxy.

That line above stops the IDE with the error "Unknown symbol 'row' in class 'Control' "

but in the IDE I can see (i.e. debug) the $control Proxy property and see the actual Proxy as per the picture attached.

Is the $control.Proxy.Row construct wrong?

tia

b


AH nevermind.

I can see now what I was trying cant work, because Proxy is a Control, not the actual object's class. The IDE must do some magic to see it as it is.

Damn! I thought I'd found a neat way to get at the proxy's properties.

I know the Proxy's job is only to duplicate mouse and keyboard events but I just thought, maybe....

Oh well, back to work.

b


Follow-Ups:
Re: Accessing proxy propertiesBruce Steers <bsteers4@xxxxxxxxx>
References:
Accessing proxy propertiesBB <adamnt42@xxxxxxxxx>