Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Leaving edited textbox with a navigation key
Message
De
21/10/1997 13:11:45
 
 
À
21/10/1997 13:02:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00055676
Message ID:
00055791
Vues:
38
>>Sorry, I'm not understanding the problem...why are you showing the drig at all? To show other records?
>
>Yes ... the user gets to see a list of attributes/settings being used in his system, picks one to change or delete (or decides to add a new one), then goes ahead and does it.

I suggest using a page frame. In one page, put the text boxes and put the grid in the other one

>
>>>>Is there any reason that you didn't want to add/edit/delete directly in the grid?
>>>
>>>I'm trying for some consistancy in my interface. Although this particular screen has only 2 fields, some will have 20 and would be unworkable as a grid.
>>>In this case, is there some reason I should do it in the grid?
>>>
>>>>>I’m new to the graphical interface, and have built a simple VFP 5.0a screen with a 2 column, readonly grid populated from a table, and a pair of text fields with their datasource coming from the same two fields of the table being displayed in the grid.
>>>>>
>>>>>I navigate with my VCR toolbar, or my special navigation keys set up in the base form’s keypress method. I’m using optimistic row buffering. The purpose of the form is add/edit/delete. My scheme is select with the navigation keys, (the grid hilighting should move) and do my editing in the two text boxes.
>>>>>
>>>>>I’m having some problems. If after making my change, I move to the next record with my navigation keys without first presing enter, I loose my change. In addition, I can’t seem to get the row highliting in the grid to move as I sit on a text box and press my next() or previous() navigation key. Without a mouse (some of my data entry users) the idea of scrolling through a grid and then going to the textboxes seems a little awkward. I think I’m missing some concepts here.
>>>>>
>>>>>1) Can I leave either textbox with my navigation keys without loosing my update?
>>>>>2) How should I link the grid highliting to my navigation while in a textbox?
>>>>>3) Should I bypass the text boxes, set my grid’s readonly to .f., and do my add/edit/delete directly in the grid?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform