Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add textbox to column classes
Message
From
27/10/2003 17:49:49
 
 
To
30/09/2003 00:28:54
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00832116
Message ID:
00843311
Views:
25
Blad,
You have to set the active control in the grid object
so that the first thing the event model encounters is
the actual text box. See the system "current object"
jumps so to speak, and the first thing it finds when it
processes the grid, column by column is not the text box
on that column but it finds the label of the text box.
It is irritating but true. So you can put a 1 and not
a zero on the right current object or current control
of that control object which you embedded into the column.
You have to go there via. the tree of objects after you
open the class. It is in the drop down where you find
the properties, methods, etc... such as in a tree view.
You scroll down to that text box in that parent grid and
then set the properties, active control to your box, not the label.
But, you probably found this solution already before I responded.

We all must have had this problem when we first put anything
into a grid column. I know I had the same problem until I
ran the debugger and realized it did not "get focus" on
the text box, but instead on the label of the text box.
There are other grid "bugs" or misbehaiviors.

So, do you have any programming jobs in Russia for an American programmer
who loves to visit your country? I would like to work there
for about a year or two if the salary is comparable. And, I wish
you luck and prosperity for your land. A toast to the VFP programmers
of Russia!
Thank You
Bill Bittenbender
WILLIAM BITTENBENDER
Pres., CTS, Inc.(Since 1991)
"Solutions Fit To Order"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform