Checkboxes passed ByVal instead of ByRef (1 Viewer)

Josef P.

Well-known member
Local time
Today, 15:20
Joined
Feb 2, 2023
Messages
916
You say no check is done for a standard property, but such a check COULD be done - part of the underlying code with variants is determining what sort of object it contains.
The stored reference of the object does not play a role when you assign a new value to the variable. The variant variable can hold a value, so there is no need to forward the value to the standard property.
 

Users who are viewing this thread

Top Bottom