Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid using myTextBox class
Message
De
29/09/2005 11:57:04
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
29/09/2005 11:14:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01054499
Message ID:
01054528
Vues:
21
>When I set the grid.columncount = 2 FoxPro automatically uses it's own textbox class for the two columns. How can I direct it to use my own textbox class instead?
>
>Thanks for any help given
for ix=1 to this.ColumnCount && or thisform.myGrid.ColumnCount
 with this.Columns(m.ix)
   .NewObject('myTextBox','myTextBoxClass', 'myTextBoxClasslib.vcx')
   .CurrentControl = 'myTextBox'
   .Sparse = .f.
   .myTextBox.Visible = .t.
 endwith
endfor
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