private variable is is_test of string type, in userobject.
is_test value is 1
create command button in this userobject
create event ue_test in userobject
command button call parent event ue_test
visual object u_privatevariable
event
ue_msgbox
controll
command button cb_1 - title is userobject
event clicked : parent.Event ue_msgbox()
use this object in window object.
this object same name instance variable is_test in window object.
window instance variable is_test value is 5
create command button in this window
command button call messagebox("", is_test)
this userobject ue_msgbox call messagebox("", is_test)
window object w_privatevariable
instance variables
string is_test = "5"
controll
command button cb_1 - title is windows
event clicked : messagebox("", is_test)
u_privatevariable uo_1
event ue_msgbox : messagebox("", is_test)
run PB, window command button click message is 5, userobject command button click message is 5
run appeon, window command button click message is 5, userobject command button click message is 1
this userobject variable is private.