Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo added to grid - fatal error
Message
From
03/09/2013 16:02:08
Denis Filer
University of Oxford
United Kingdom
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Combo added to grid - fatal error
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01581962
Message ID:
01581962
Views:
157
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
Next
Reply
Map
View

Click here to load this message in the networking platform