Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dropdown Combo on grid
Message
From
19/07/2006 15:03:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Dropdown Combo on grid
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01137787
Message ID:
01137787
Views:
73
I am using dropdown combo (not dropdown list) on grid column.

On refresh method of combo I have:
This.DisplayValue = viewname.field1

On valid method of combo I have:
REPLACE viewname.field1 WITH This.DisplayValue IN viewname

Combo properties are:
rowsource is array (one dimension, character field).
BoundColumn = 1
BoundTo = .f.
ControlSource = (nothing)

Grid Column properties are:
bound = .t.
ControlSource = viewname.field1
Sparce = .f.

Always I write a new option on combo and move the focus to next column of the grid, the content of combo that I just have typed is cleared. After saving and refresh, the content of combo is showed.

Why the content of combo is cleared? What am I doing wrong?
Antonio Carlos Kleinübing
Systems Analyst
Next
Reply
Map
View

Click here to load this message in the networking platform