Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help bubble
Message
De
17/06/2012 23:07:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01546166
Message ID:
01546176
Vues:
69
>Without going too far over my head and paygrade - is it possible to create a help bubble that appears when you move your cursor over the message in messagebox().
>Using VFP example if the cursor is placed OVER the message text - a help bubble will appear.
>(I have been using wait 'message' nowait noclear to explain issues but the help bubble would undoubtably result in clear display.)
>
>thanks k
>
>
>eMessageTitle = 'My Application'
>eMessageText = 'Record not found. Would you like to search again?'
>nDialogType = 4 + 16 + 256
>
>nAnswer = MESSAGEBOX(eMessageText, nDialogType, eMessageTitle)
>DO CASE
>   CASE nAnswer = 6
>      WAIT WINDOW 'You chose Yes'
>   CASE nAnswer = 7
>      WAIT WINDOW 'You chose No'
>ENDCASE
>
>
To expand on Craig's reply, you can create quite long messages for use in MESSAGEBOX( ). You can add line breaks ( CHR( 13 ) ) to format a long message e.g.
eMessageTest = 'Record not found. Would you like to search again?' + CHR( 13 ) ;
  + 'This text is on the next line' + CHR( 13 ) ;
  + CHR( 13 ) ;
  + 'This text follows a blank line'
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform