Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid using myTextBox class
Message
From
29/09/2005 11:57:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/09/2005 11:14:17
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01054499
Message ID:
01054528
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform