DEFINE CLASS vendors AS xcbochg
BoundColumn = 2
ColumnCount = 2
ColumnWidths = "120,80"
ControlSource = "vendors_id"
ColumnLines = .F.
Width = 133
Name = "vendors"
PROCEDURE Init
select vn_name,vendors_id from vendors ;
into array aVendors order by 1
nNoRows = alen(aVendors,1)
for nRow = 1 to nNoRows
= this.AddListItem(aVendors[nRow,1],nRow,1)
= this.AddListItem(aVendors[nRow,2],nRow,2)
endfor
ENDPROC
ENDDEFINE
DEFINE CLASS xcbochg AS combobox
FontName = "Verdana"
Height = 24
Style = 2
Width = 100
Name = "xcbochg"
PROCEDURE Valid
= thisform.IsChanged[]
ENDPROC
PROCEDURE RightClick
do RtClick.mpr
ENDPROC
ENDDEFINE
<\pre>
Please come to my aid before sanity slips away completely.Best Regards
Don Simpson