Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo added to grid - fatal error
Message
De
03/09/2013 16:02:08
Denis Filer
University of Oxford
Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Combo added to grid - fatal error
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01581962
Message ID:
01581962
Vues:
156
Hello. I have a VFP9 form with a grid. Two of the 3 grid cells are configured in the form INIT method as dropdowns - that for column2 follows:

loOc = THISFORM.pf.ecol.habitatlist.COLUMNS(2)
IF PEMSTATUS(loOc,"text1",5) THEN && If not present then already done
loOc.REMOVEOBJECT("text1")
loOc.ADDOBJECT("combo1","Combobox")
loOc.combo1.VISIBLE = .T.
loOc.combo1.FONTSIZE = 8
loOc.combo1.HEIGHT = 20
loOc.combo1.ROWSOURCETYPE = 2
loOc.combo1.ROWSOURCE = "CUSTLOOK.VALUE"
loOc.combo1.STYLE = 2
loOc.combo1.BORDERSTYLE = 0
ENDIF

where CUSTLOOK.VALUE is in a file filtered to a set of values. The filter in that lookup file is set on an afterrowcolchange in the grid.

Every so often, VFP crashes and hangs with a low level windows error - and I can't pin it down.
Wondering if I'm doing this wrong?
Many thanks, Denis
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform