Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Made a Grid look like Outlook Contacts List?
Message
De
10/07/2004 08:30:30
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
10/07/2004 05:00:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00922931
Message ID:
00922952
Vues:
23
>>I now have the control with multiple text boxes inserted in the grid, but it only shows one record at a time, that is, the active cell will show the contents of the text boxes in the container which is in the active cell, but the non-active cells all appear blank until activated with a click, when they reveal the expected underlying data.
>>
>>Any ideas?
>
>Just remembered the SPARSE property, and setting it to FALSE I now see data in each row. However, my arrow keys do not navigate the grid.
>
>More difficult still will be being able to get a multi-column grid showing data from different companies on the same row.

I've seen such containers in grids as early as VFP5 - but those grids had at least one more column with the default textbox. That should enable your navigation.

As for showing multiples... a better, but far more complicated approach is what I saw in FullContact, which was an addition to Visual Fox Express framework (and written in it). It had three levels of containers - cell, column, and outer. He'd line up cells (top to bottom) in column after column, adding columns as needed, left to right, until the outer container was full. The kick came when you wanted more navigation - an ActiveX scrollbar was added to the bottom of the outer container, and this scrollbar was, well, behaving on its own. It would bleed through other containers when the current one was covered with them, or would stay invisible without an apparent reason. It got more complicated with collapsible cells (there was a little + button which would expand the box from one-line to all lines) - the cell height wasn't fixed. It could be one line in collapsed state, and more lines - and the empty textboxes remained invisible, so there was some repositioning to be done. And when a user expands or collapses a cell, the whole thing had to be laid out afresh, because some of the cells would now fit in the column to the left, or would have to be moved to the next column to the right. Tricky, but very nice in the end.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform