Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Combo added to grid - fatal error
Versions des environnements
Network:
Windows 2008 Server
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
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