Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying pictures in grid
Message
De
03/05/2001 02:34:41
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/05/2001 21:45:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00501889
Message ID:
00502875
Vues:
13
MsHflexgrid is 'almost' only for viewing :) With VFP it sounds too hard to create something like that (but fox community always surprises me with workarounds - grid in grid as you said is one way:).
MSHflexgrid is not data bound. More clearly it uses datasource till it fills its textmatrix array (when data source is hierarchical). Sometimes I need an enhanced treeview and use MSHflexgrid. I needed to use some extra coding to track where I'm when clicked on a child row other than first. I keep VFP native controls to edit it. But right most of the time I use it for viewing and selecting too.
Cetin

>Thanks. Either way described below or your posting to FAQ regarding dynamic pictures ( quite tricky way I must say ) serves weel for my needs.
>Incidentally, I've seen your posting regarding usage MSHFLEXDRID with VFP.
>But it is only for viewing. From your experience could it be feasible to create something similar and visually appealing and updateable using VFP built-in grid.
>Assuming we have classical master/detail we seem to be able to embed detail grid into master cell but can't see the way to make it varying from row to row.
>
>
>>
>>Michael,
>>As I get it you only want it for checkboxes not image displaying (if image displaying check FAQ section).
>>For checkbox :
>>-Add checkbox to grid.columnx
>>-Set checkbox.downpicture to 'ticker bitmap'
>>-Set checkbox.picture to 'crossed out bitmap'
>>-Set checkbox.caption to none
>>-Set checkbox.style to graphical
>>-Set column.dynamiccurrentcontrol property to checkbox (typically 'check1')
>>-Set column.sparse to .f.
>>Done:)
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform