I've written a class where I've declared a control as a member:
cMyclass is a Class
m_control is Control
END
I pass my reference to that control in my constructor method:
PROCEDURE Constructor(EditControl is Control)
:m_control <- EditControl
I have another method where I want to add values for assisted input:
PROCEDURE LoadArray()
AssistedInputDeleteAll(:m_control)
LOOP
// Add values to my assisted lookup
AssistedInputAdd(:m_control,"My value will go here")
// read the next record
END
AssistedInput Add is being called by looking ini the debugger m_control is always ""
Is there a trick to passing a control to a class, or have I made got the assignment wrong?
TIA
Neil.