Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get rid of the default text class in a grid
Message
De
07/09/1997 03:40:41
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
04/09/1997 16:15:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00048577
Message ID:
00048867
Vues:
24
> >I want to change the text class from a grid to my text class. I can add > the my class to the grid. However, the defautl text class text1 is still > under the column. How can I get rid of it? > > > >Thanks in advance. > > > >Jim S > > Form Designer: Select Text1 in property sheet, click on the column, press > Delete key. I've asked the same before (and grunted a lot). There are two issues: If you have a -1 columns grid, supposed to load columns dynamically, when it ge ts the columns, the controls in the cells are inevitably of class Textbox, named Text1 , in Arial etc etc. Now for many other things we may define our defaults, why not he re. Why not have my own column class, and my subclassed textbox as default cell control in a grid? Second isue is clicking. Having the grid columns created dynamically means you don't click anywhere - and, besides, why should I have to click in the form designer either? My approach is to write a builder (or a wizard, why not) to do it for me. So, h ow do I set up different default grid cell controll and header classes? If it's impossi ble (didn't find word "impossible" anywhere in vfoxpro.hlp), what's the best workar ound?

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
Répondre
Fil
Voir

Click here to load this message in the networking platform