Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut Menu w/text snippets
Message
De
23/09/2006 16:38:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01156713
Message ID:
01156735
Vues:
19
>I'd like to implement a right-click menu for an editbox that has prompts for about a half dozen different text snippets. When an item is selected, the full text string is inserted at the cursor location.
>
>Ex:
>
>
Menu Prompt       Text
>Verified          "The customer complaint was verified.  "
>Scrap             "The returned material was scrapped.  "
>
>etc.
>
>I'm having a real brainblock....any hints would be greatly appreciated.
>
>tks

* rightclick
do myShorthCut with this

*myShortCut
lparameters toObject
*...
on selection bar < nBarVerified > of myshortcutmenu ;
toObject.Value = stuff(toObject.Value, toObject.SelStart, 0, m.lcVerified)
*...
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform