Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Autocomplete doesn't work on textbox in _Screen
Message
 
 
To
24/08/2007 17:02:32
Lu Ping
Zhuhai Tec Co.
Zhuhai, China
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Miscellaneous
Thread ID:
01250350
Message ID:
01250444
Views:
16
I see the same behavior. The textbox looses focus after 2nd key stroke.
You can create a form AlwaysOnBottom = .T. and put textbox on it. It may or not work for you depending on what are you trying to do.
_Screen.AddProperty("oBF", CREATEOBJECT("Form"))
_screen.oBf.Visible = .T.
_screen.oBf.AlwaysOnBottom = .T.
_Screen.oBF.Height = _Screen.Height
_Screen.oBF.Width = _Screen.Width
_Screen.oBF.TitleBar = 0
_Screen.oBF.BorderStyle = 0
_Screen.oBF.BackColor = _Screen.BackColor
_screen.oBf.AddObject([x] ,[textbox])
_screen.oBf.X.AutoComplete = 3
_screen.oBf.X.Visible = .T.
> My test-codes are below:
>
>_screen.AddObject([x] ,[textbox])
>_screen.x.AutoComplete = 3
>_screen.x.AutoCompSource = 'HyperLink'
>_screen.x.AutoCompTable = 'autoin.dbf'
>_screen.x.Visible = .T.
>
>
> When keypress a few characters ,the focus of the textbox lose .
>
>Could someone help?
>
>Thanks advance.
>
>Luyis
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform