Information générale
Catégorie:
Codage, syntaxe et commandes
>>>
This code is in the valid event of the combo box
>>
>>Thisform.Combo1.DblClick
>>COPY TO ARRAY invarray FIELDS invoices.workordern NEXT 1
>>
>>USE \INVOICES
>>
>>DO FORM \BROINVPAGE.SCX
>>
>>this works fine until I leave the broinvpage(pageframe) once closed
>>and return to menu vfp crashes.
>>
>>Thanks
>>
>>
>>>vfp 3.0 in win 95
>>>>
>>>>I have a combo box used for browsing that when you dblclick on
>>>>a record needs to automatically run a pageframe to display the
>>>>record.
>>>>
>>>>I have place a dblclick event in the valid event of the combo
>>>>box, however when you close the pageframe, it would close the
>>>>combo box form and crash vfp.
>>>>
>>>>I did not perform any release of the combo box, since I discovered
>>>>that when the pageframe closed so did the combo box.
>>>>
>>>>Should I use a different method to accomplish the dblclick?
>>>>Or is there something I can add to this code to keep it
>>>>from crashing vfp?
>>>>
>>>>Thanks and have a great day!
>>>Rebecca,
>>>Could you elaborate more ? Could you paste valid and dblclick codes of combo (or is it a listbox) ?
>>>Cetin
>Rebecca,
>Currently talking about this on forum. Could you give more details.
>-Does form have a DE. If so private ?
>-Are you using invoice again ?
>Cetin
yes both forms have de and it's exclusive invoice does get used again but
it released and run again when needed.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement