Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids: Using PARTITION and SPLITBAR
Message
De
06/09/2005 03:03:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01025509
Message ID:
01046913
Vues:
17
Geoff,
I have overlooked VFP9's lockcolumns property. I stand corrected, it works better. Set lockcolumns (not LocColumnsLeft - splitbar = .f.).
Cetin

>It would be really nice to be able hide the scroll bars in the left partition if PanelLink = .T.
>
>Regards
>Geoff Scott
>
>>>I'm using VFP9 and i'm hoping to lock the first 4 columns in a 20+ column grid so that when the user scrolls to the right, the first 4 columns remain visible (similar to excel).
>>>
>>>I thought this is what PARTITION and SPLITBAR properties are for. But cant get it to work. I had set SPLITBAR to true on the grid and set PARTITION to 4. After saving the form i cant run it or even MODIFY the form. I had to hack the scx and remove those 2 settings from the PROPERTIES field for the grid row in the SCX in order to be able to modify the form again.
>>>
>>>Can these 2 properties be used to lock columns?
>>
>>Splitbar only tells if there would be a split and partition tells the grid partition's width.
>>IMHO though not perfect below code works better then LockColumn* of VFP9 (and works with older versions):
Ç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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform