Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble goint to Bottom of file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00776233
Message ID:
00776464
Vues:
17
Hi Sergey

Thanks for the Tip. I'll give it a try

regards,

Gerard

>Hi Gerard,
>
>You've to move focus of the grid befor you add new record and back to grid after. SOmething like
* Column2.text1.LostFocus
>* Temporary set focus on command button on the form
>This.Parent.Parent.Parent.command1.SetFocus()
>APPEND BLANK
>* Set focus back to grid
>This.Parent.Parent.Column1.SetFocus()
>NODEFAULT
>
>
>>Hi.
>>I have an Editable grid which shows just two fields from a file.
>>On the Valid Event of the second field I have the following code:
>>
>>Appe Blank
>>Goto Bottom
>>
>>Each time I return out of the second field,the record is appended ok but the cursor stays on the current record. I want it to land on the appended record , so that the User does not have to down arrow.
>>
>>I've also tried Keyboarding a DnArrow but this caused an infinite loop .
>>
>>Anybody got any ideas on how I can automatically land on the last record without having to use a key ?
>>
>>regards,
>>
>>Gerard
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform