Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select Start
Message
De
14/06/2002 10:24:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Select Start
Divers
Thread ID:
00668524
Message ID:
00668524
Vues:
49
Hi,

I am having a problem with the SelStart property when setting the focus of a field. Here is my code:

WITH thisform.pageframe1
.page1.SetAll ("enabled",.t.,"textbox")
.page1.SetAll ("enabled",.t.,"combobox")
.page1.SetAll ("enabled",.t.,"checkbox")
.page2.SetAll ("enabled",.t.,"textbox")
.page2.SetAll ("enabled",.t.,"combobox")
.page2.command1.Enabled = .t.
.page2.command2.Enabled = .t.
.page3.SetAll ("enabled",.t.,"editbox")
.page4.SetAll ("enabled",.t.,"textbox")
.page4.SetAll ("enabled",.t.,"combobox")
.page1.txtclientno.selstart = 3
.page1.txtclientno.setfocus
ENDWITH

I also am setting the SelStart value in the text box's SetFocus and GotFocus properties. When I tab out of the text box then tab back into it, it works fine.

Thanks for any response,

Michael Vassallo
Micro League Software, Inc.
Williamsport, PA
mikev@microleaguesoftware.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform