Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Entering HTML in VFP field
Message
 
 
To
31/10/2000 12:07:20
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00436396
Message ID:
00436405
Views:
30
>We store complete static HTML pages as text in memo fields. These include tags. We are looking for an "easy" way to allow a non-html trained person to enter the text. I have set up a VFP app that gives them a block to type the memo into. Is there an add-in out there that will allow me to incorporate a dropdown list of tags or something that will let them insert tags into the memo block without knowing too much about HTML?
>
>TIA,
>
>Sally

You could create a listbox or combobox control on the same form and the InterActiveChnage could simply insert the selected tag into the memo at the position of the cursor.

I believe you can use the SelStart property to get the current position of the cursor on the EditBox. Then it's just a matter of getting everything to the left, everything to the right and replaing the value with the new concatenated string.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform