Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Container causes refresh problem
Message
 
À
28/09/1997 01:12:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00052009
Message ID:
00052095
Vues:
27
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform