Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus in a Grid (in a form)
Message
 
 
To
22/04/2000 13:20:29
Van Son Nguyen
Dessau Soprin Inc.
Laval, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00362524
Message ID:
00362525
Views:
13
>I try to use this following program section in the Refresh of my Form :
>
>IF glProj = .F.
> Thisform.Grid1.Column1.Visible=.T.
> Thisform.Grid1.Column1.Enabled = .T.
> Thisform.Grid1.Column1.SetFocus
>Endif
>
>and the result is :
>
>" Cannot call Setfocus from within a When,Valid,Rangehigh or Rangelow event"
>
>Moreover, this occured in the "Refresh" and not in the Valid or When
>
>Thank in advance for any hints or suggestions,
>Van Son Nguyen
Van,
Is the form itself called from the Valid event on another form? Check further up the program stack.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform