Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container causes refresh problem
Message
 
To
28/09/1997 01:12:37
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00052009
Message ID:
00052095
Views:
20
>You're ok so far. We can also add that the name of the container is also Message. :) So, from an external point of view it may look like this: ThisForm.Message.Message.Refresh().

>The code is in the NodeClick(). I have the following:
>
>LPARAMETERS node
>Node.Selected=.T.
>This.Parent.ShowInfo(Node.Key,Node.Index)
>
>Then, the ShowInfo() method is dealing with various thing. The last 2 lines are:
>
>*This.Message.SelStart=1
>This.Message.Refresh()
>
>As you see, I put a comment to avoid the bug.

Michel, I may be confused by 2 layers both named MESSAGE, but it seems to me you're putting your SelStart in the container, not in the editbox. Try again putting in the entire hierarchy thisform....message.message.selstart = 1 (or 0 as Gerald suggests).

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform