Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid refresh issue
Message
De
08/07/2003 23:35:01
 
 
À
08/07/2003 17:32:38
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00808189
Message ID:
00808302
Vues:
11
Hey Dorin,

Sorry I should have checked the behavior of the browse window first. You need to set the focus back to the calling form, then refresh then be sure to set the focus back to your search form or you will get trapped.
ThisForm.oCallingFormRef.Grid1.SetFocus()
ThisForm.oCallingFormRef.Grid1.Refresh()
ThisForm.cmdFindAgain.SetFocus()
Aloha,

James
>I think I cannot explain so good, my english :(
>What I want is very simple. Open a browse window and press ctrl+F . If I search something and is found, the record mark is positioned on the record, UNDER THE SEARCH FORM. This is what I don't know how to do (I mean I know, but oForm.Grid.Refresh doesn't work, as I said).
>
>>Then perhaps store the resulting primary key or record number in a property on the search form, assigning the new value every time you execute a find/find again, then you can use that property to locate or otherwise position the record pointer of the list view form.
>>
>>Aloha,
>>
>>James
>>
>>>The 'Find' and 'Find again' selection will not close the search form,it remain active. If any record that match the search criteria is found, I want to be displayed (the search form is small and positioned at top) as in Find dialog within a browse window.
>>>
>>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform