Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activecontrol in grid & activecolumn in grid.valid
Message
From
25/09/1998 01:49:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00140243
Message ID:
00140721
Views:
24
Hidy Kamal,
Good morning (good night ?). Hey why would I hate someone faithfully deserving time to help me, I just feel appreciation.
Kamal, I couldn't make it clear. This is a generic grid class and I don't have a chance to change PEM of indiviual controls. It will populate later, maybe on your form (yeah, will send to UT files\classes). If I could, all I want to do there, is to "poke" this.value = this.value to their interactivechange. I only have grid at my hand now, no controls yet :( Today I'll try to send a copy of class to you. Now working :) I was trying to optimize the code more (working smooth and fast though).
Cetin

>Cetin,
>
>>Unfortunately activecontrol applies to form, page, toolbar, _screen not grid. form.activecontrol return the grid, not current active control of it. Thanks.
>
>Thats very true. You'd probably hate me for this but the way out would be to store the column's currentcontrol's object reference to a property on the form from the GotFocus() event of each control in each column.
>
*-- Grid.Column.TextBox.GotFocus()
>thisform.oLastControl = this
>or
>thisform.cLastControlPath = SYS(1272, this)
>
Ç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
Next
Reply
Map
View

Click here to load this message in the networking platform