L laiyilam Member Licensed User Longtime User Aug 31, 2007 #1 Hi, I am a newbie. Is it possible to pass an object to a procedure?:sign0085: e.g. sub pLoadSomethingIntoComboBox(ipObject, ipArray) ' Load the ipArray into the ipObject end sub Thanks, Paul
Hi, I am a newbie. Is it possible to pass an object to a procedure?:sign0085: e.g. sub pLoadSomethingIntoComboBox(ipObject, ipArray) ' Load the ipArray into the ipObject end sub Thanks, Paul
specci48 Well-Known Member Licensed User Longtime User Aug 31, 2007 #2 Hi Paul, you can use the control statement for this: sub pLoadSomethingIntoComboBox(cbxName) control(cbxName).Add("Item1") end sub cbxName is the name (string) of a combobox specci48
Hi Paul, you can use the control statement for this: sub pLoadSomethingIntoComboBox(cbxName) control(cbxName).Add("Item1") end sub cbxName is the name (string) of a combobox specci48
L laiyilam Member Licensed User Longtime User Aug 31, 2007 #3 Hi specci48, Thanks, I will give it a try!:sign0060: Paul specci48 said: Hi Paul, you can use the control statement for this: sub pLoadSomethingIntoComboBox(cbxName) control(cbxName).Add("Item1") end sub cbxName is the name (string) of a combobox specci48 Click to expand...
Hi specci48, Thanks, I will give it a try!:sign0060: Paul specci48 said: Hi Paul, you can use the control statement for this: sub pLoadSomethingIntoComboBox(cbxName) control(cbxName).Add("Item1") end sub cbxName is the name (string) of a combobox specci48 Click to expand...