Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut Menu w/text snippets
Message
From
23/09/2006 16:38:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01156713
Message ID:
01156735
Views:
18
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform