Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Listbox sending an error message
Versions des environnements
Hi,
Does anyone encountered this listbox error message when you tried to press the Enter Key when there's no record being/is highlighted in the listbox.
This happens when i created a form with listbox(list of customers are displayed for selection that returns a value selected from it) and called by my transaction data form. when the form is called/activated it displays the list of customers without any of the list being highlighted first. When i click on any of the list then it gets highlighted or click any of the list and scroll to make a selection by pressing Enter Key, it returns that value and no error at all. But when i tried to Press Enter Key first right after the form was called without any item in the list selected or highlighted by clicking it with a mouse, It returns an error and VFP quits the programs.
Another thing. how can i make the first list/record in the listbox becomes the default record highlighted or selected just like in the combobox when you activate it, the first record becomes the first record highlighted?
TIA
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