Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Glossary in a textbox
Message
 
À
25/03/2005 13:32:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00999164
Message ID:
00999546
Vues:
42
hi Tamar

Thanks for the answer. I thought that maybe I could have an object which I create for each glossary word and I add it to the richtextbox. However I am having some trouble adding such an object. I tried adding pictures and it works but when i try to add another object it's giving me a 'invalid class string error' i'm using this code:
PUBLIC lolink

loLink = CREATEOBJECT('_hyperlinklabel')
lolink.caption = 'test'
lolink.ctarget = 'www.levelextreme.com'

thisform.olecontrol1.OLEObjects.Add(,,lolink)
For those who do not know, the _hyperlinklabel class is in _hyperlink.vcx under c:\program files\microsoft visual foxpro 8\ffc\

This is the code I am using to add a picture:
lcPicFile = GETPICT()

lopic = LOADPICTURE(lcPicFile)
lcNewFile = 'c:\' + JUSTSTEM(lcPicFile) + '.bmp'
SAVEPICTURE(lopic,lcNewFile)
thisform.olecontrol1.OLEObjects.Add(,,lcNewFile)
Any ideas ?
thanks.
Regards
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform