Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keep a 4-row grid from scrolling?
Message
De
18/08/1997 16:56:13
 
 
À
18/08/1997 16:46:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00045393
Message ID:
00045398
Vues:
26
>I have a grid with four rows and five columns. All cells for all records are always visible so there's no need to scroll in any direction.
>
>When the user moves to the bottom row using the arrow keys, the grid scrolls down one row. Also, since this grid only (always) has four records, the new bottom row is always blank.
>
>I have this same problem moving the cursor to the far right column, the grid scrolls to the left. This is handled by making the grid about two pixels wider than the columns actually require. It's ugly, but it works. Unfortunately, the same approach does not work for vertical scrolling.
>
>I have created a very crude work-around but there has to be a better way. I had to extend the grid to five rows and hide the bottom row behind an empty label control that has the same background color as the form.
>
>Any ideas?

Personally, I don't see a problem if users will see one more empty line on bottom of a grid. For example, nobody complains that Windows Explorer shows empty space on bottom, if number of files is too less to be scrolled. Also note, that sophisticated user could resize width of row and your problem will reappear.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform