* create or take any object, which has a "cMyState" property * put the reference of this object into "loObject" loObject = ... oMyState = Createobject('GetState'<b>, loObject</b>) oMyState.show() ** some how catch what ever state is chosen. *** (the way the form works is that on double click, it grabs the state *** releases the form and returns the value to the textbox) *** theory code THIS.PARENT.RFI_TEXTBOX1.VALUE = ALLTRIM( loObject.cMystate ) THIS.PARENT.VALUE = ALLTRIM( loObject.cMystate ) THIS.PARENT.VALID()To makes this work you need:
LPARAMETER toLogicalParent This.oLogicalParent = m.toLogicalParent- Code similar like this whereever in your class
This.oLogicalParent.cMyState = "WhatEver"