Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Set Focus ??
Message
From
19/09/2002 09:07:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/09/2002 08:06:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00702192
Message ID:
00702225
Views:
15
>Hi,
>I have a form with some text controls and a grid
>As soon as I press the Edit button I want to fill in the textboxes with the data from the current reord showing in the grid.
>But...
>the record marker adoes not show up until I click anywhere on the grid.
>
>I tried to use locate , oGrid.refresh(),
>oGrid.Setfocus(), oGrid.column1.setfocus,oGrid.afterrowcolumnchange(),oGrid.Column1.header1.click()
>
>All to no avail
>
>What is the properway to do that??
>
>Peter

Peter,
I myself use backcoloring but you might do it by momentarily setting focus to grid:

myGrid.SetFocus()
myControl.SetFocus()

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