Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids
Message
De
09/07/1999 10:35:17
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/07/1999 10:25:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Grids
Divers
Thread ID:
00239393
Message ID:
00239426
Vues:
13
>Thanks Cetin, I've got one more question, hopefully there's a quick solution:)
>I currently have a grid in which I have non-visually created in the grid init. Setting properties is not a problem. However, I'm trying to program the headers .click events with the following code:
>
>******
>private chrParams
>
>chrParams = "chrHeader=[" + upper( alltrim( this.caption ) ) + "]"
>thisform.m_Change_Order( chrParams ) &&changes order on the grid
>return
>******
>
>Is there an easy way to accomplish this?
Hmm. Using a form method is not good for a grid (as you want to use that on ahother form then that form should have that method too). Better it could be proc of grid itself. Anyway, for changing headers, removeobject("Header1"), addobject("Header1","myHeader"). The above code is myHeader.click code, true ?
Check multiselect grid class. It does very similar (click to change order and show active column with a yellow background as I remember). It should also have a few test.prg to show effects.
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