Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hi Will Jones (moving messages like a demo in my forms)
Message
 
 
À
27/06/2001 15:24:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00524379
Message ID:
00524473
Vues:
15
>Hi Will
>it was very nice from you to answer my question but would you please give me more details of what to do to accomplish this ?
>i am a novice i would like to experiment differents things to learn i don't understand when you mentioned the use of the texbox i know how to create one and locate it near to the button but how this textbox will move automaticly to another location after a few seconds ? i think the mouse approach will be the best but if you can be so kind and let me know some code related with the mouse and where that code should go
>
>thank you so much and i hope i can learn from you.

Hi Ernesto,

Create a form with textbox txtMove (put it at the right corner in the bottom) and Timer Timer1. Set interval for a timer and it its timer event write this code:
Off the top of my head (not tested):
with thisform.txtMove
    .left=.left+10
    .top=.top+10
    if .left<=0
       .left=abs(.left)
    endif
    if .top<=0
       .top=abs(.top)
    endif
endwith
See the effect. Then go to Download section here (top menu, click on combobox Archives and choose Downloads) and download two files: FancyToolTip by Paul Vlad Tatavu and FoxSpeaker by Nick Nekloiudov. Play with these controls and see, if they would work for your demo form.

Hope this helps.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform