Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox sending an error message
Message
De
03/03/2006 07:26:44
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Listbox sending an error message
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01101194
Message ID:
01101194
Vues:
52
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
Fil
Voir

Click here to load this message in the networking platform