Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't tab into control
Message
From
01/11/1999 16:55:46
Dennis Schuette
Customized Business Services, Llc
Yuma, Arizona, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Can't tab into control
Miscellaneous
Thread ID:
00285090
Message ID:
00285090
Views:
59
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
Next
Reply
Map
View

Click here to load this message in the networking platform