Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Autocomplete doesn't work on textbox in _Screen
Message
 
 
À
24/08/2007 17:02:32
Lu Ping
Zhuhai Tec Co.
Zhuhai, Chine
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Divers
Thread ID:
01250350
Message ID:
01250444
Vues:
15
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform