Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids - contents of cells shifting to left or right.
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00033913
Message ID:
00034143
Views:
40
>Hello!
>
>May be your Ingrid control have another font and alignment setting? And
>there is DynamicAlignment property which you must check too.
>
>Have a happy day
>Vladimir Shevchenko
>

The "ingrid" control is a custom textbox which have the same font type and size as the Text1 textbox in the grid.

Column
Header
Text1
txtSearch1

.Bound = .F., .Sparse = .F., the .ControlSource for Text1 and txtSearch1 are set via a method. Any .Format and .InputMask properties are also set at this level and not at the column level. The .CurrentControl is txtSearch1 if an index tag exists, if not, then the .CurrentControl is Text1. The alignment is .Auto for all items, column, text1 and txtsearch1. The font is all Arial, the font size is all 8. Everything has been looked at. I do not have anything in the .Dynamic properties for the column but I guess I'll look closer although I cannot understand why the behavior is so erratic. I have a grid that has both columns with txtSearch1 or Text1 as the .CurrentControl. Both columns exhibit the same behavior.

Also, the .Dynamic properties are evaluated when the control is refreshed. This behavior is happening while tabbing through the fields in the grid. If refreshing is happening, it's a default mechanism and not in my code so it is conceivable that the .Dynamic properties wouldn't even be evaluated.

Steve
Previous
Reply
Map
View

Click here to load this message in the networking platform