Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Implementing HTMLElementEvents interface
Message
De
18/07/2018 10:42:57
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
18/07/2018 10:34:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Database:
MS SQL Server
Divers
Thread ID:
01661205
Message ID:
01661248
Vues:
57
>>>>>It truly is, as we'd say, "around the dog then through the little door" way of getting at it, but it works and exposes the properties I need. I'll give it a try.
>>>>
>>>>And though it works, it's still unusable in this case, as other things that are required for this are simply not there or hard/complicated/unreliable, so it's definitely over the time I have for this line of research. Will do something else instead.
>>>
>>>Dragan,
>>>and when you have found the solution you will publish it here? Please.
>>
>>Can't promise that, code is proprietary. But I can outline the solution... and the present version is built around a RTF control (remember, this is an expression builder and I just need some syntax coloring and dropdowns for every step).
>
>Dragan,
>I am struggling and looking for the solution to display with RTF(?) fields FirstName+'' "+ FamilyName where F of Familyname in Bold
>Koen

You need to make it selected (i.e. set .selstart and .sellength) accordingly, then play with .selBold and other properties beginning with .sel*. It's basically designed to be an editor, so you can't just set any piece of text to have any attributes, it has to be selected first.

Luckily, .selstart and .sellength work with .text, not .textRTF - if the latter were the case, you'd never know where to put them. Just observe the differences in the debugger once you start adding attributes to pieces.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform