Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextBox.SelStart
Message
De
05/01/2000 04:27:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00312429
Message ID:
00313086
Vues:
58
Hi All and thanks again:

The solution for the problem is the next:

The TextBox that are in the form, has the event gotfocus() like the last event (really is the message event()). Then if you type in the gotfocus()"this.SelStart = 5" this run perfect.

But, the TextBox that are inside the grid, hasn't the event gotfocus() like the last event. After the event gotfocus() of the textBox, occurs the event AfterRowColChange() of the grid. The Grid.AfterRowColChange event, it must do something and change the textbox.selstart property.

To resolve this, I type the code in the Grid.AfteRowColChange()
{LPARAMETERS nÍndiceCol
IF nÍndiceCol = 3 &&the column3
this.column3.text1.selstart = 6
ENDIF
}
This run o.k.

Best regards, and thanks for all.

Fernando Molina
fmolina@sintonia.es
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform