Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid and Double-Click Event
Message
 
 
À
19/06/2001 13:43:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00520905
Message ID:
00521162
Vues:
21
>:)
>Click grid(s) and run your custom .prg from command window.
>
>
*custom builder not registered
>aselobj(arrObj)
>for each oObj in arrObj
>if upper(oObj.Baseclass)='GRID'
> for each oColumn in oObj.columns
>   oColumn.Removeobject(...
>
Cetin

Doesn't seem to be difficult after you provide the code :) Great, thanks a lot.
********************************************************************
*  Description.......: GridBuilder - allows to build a grid in design-time
*  Calling Samples...:
*  Parameter List....:
*  Created by........: Cetin Basoz
*  Modified by.......:
********************************************************************
*custom builder not registered
aselobj(arrObj)
for each oObj in arrObj
     if upper(oObj.baseclass)='GRID'
          for each oColumn in oObj.columns
              if type('oColumn.text1')="O"
                   oColumn.removeobject('text1')
               endif    
               oColumn.newobject('text1','ingrid','wgcontrols.vcx')
          next
     endif
next
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform