>>>vfp 3.0 in win 95
>>>
>>>I have a combo box that is used to select records for
>>>browsing, in the valide event of the form, I have a
>>>dblclick event to scatter the record to an array and
>>>run a pageframe to display the record.
>>>
>>>For some reason I cannot get the browse--combo box screen
>>>to release, no matter which command I use, it will not release.
>>>
>>>Any thoughts?
>>
>>Rebecca, I'm not sure what you're referring to as 'the valid event of the form'.
>>Could you explain more fully?
>>
>>If I understand, you have a combo box. In the combo box DblClick method you call a pageframe which shows the whole record referred to in the combo? Is this pageframe on your original form and created/made visible on command? Or is it a new form? If a new form, are you declaring a form object to refer to the original form? If so, then this must be declared .NULL. before the second form will release.
>>
>>HTH
>
>the browse screen has a combo box in the valid event of the combo box
>I placed a thisform.combo1.dblClick and then code to copy the rec
>to an array and do form the pageframe.
>
>everything goes o.k. until I try to release the browse screen with the
>combo box. When I release from the pageframe got focus event vfp
>crashes. the code runs but then vfp crashes. I guess I need to find
>the right time to release the browse screen.
>
>Thanks and have a great day!
Rebecca,
From valid event you launch another form and it releases caller form ? VFP would crash in this case. Instead use a modal form combobox. From unload return a value of recno.
do form myModalForm to nRecNo
do form myPageFrame with nRecNo
Cetin