I am using VFP 5.0a.
I have a form with three controls that works when run within the development environment (right click on form, then run).
When I call this form within my application, I cannot tab or enter into the custom control (cboCarrier).
Below is the code:
DEFINE CLASS form1 AS form
Top = 0
Left = 0
Height = 250
Width = 375
DoCreate = .T.
Caption = "Form1"
Name = "Form1"
ADD OBJECT txtdateship AS textbox WITH ;
ControlSource = "loadhist.dateship", ;
Left = 85, ;
TabIndex = 1, ;
Top = 14, ;
Width = 77, ;
Name = "txtDateship"
ADD OBJECT cbocarrier AS cbo_generic WITH ;
Top = 38, ;
Left = 85, ;
Width = 178, ;
Height = 23, ;
TabIndex = 2, ;
defaultalias = "Carrier", ;
displaywidth = 180, ;
Name = "cboCarrier", ;
cboGeneric.RowSource = "Carrier", ;
cboGeneric.ControlSource = "loadhist.carrier", ;
cboGeneric.Name = "cboGeneric", ;
txtCode.Name = "txtCode", ;
txtDesc.Name = "txtDesc", ;
Label1.Name = "Label1", ;
Label2.Name = "Label2", ;
Label3.Name = "Label3"
ADD OBJECT txtdof AS textbox WITH ;
ControlSource = "loadhist.dof", ;
Left = 85, ;
TabIndex = 3, ;
Top = 61, ;
Width = 40, ;
Name = "txtDof"
ENDDEFINE
Thanks in advance for any suggestions,
Denis Schuette
McElhaney Cattle Co.
Dennis Schuette