Forum Discussion

TESTUS's avatar
TESTUS
Contributor
13 years ago

DFT - Handling Rich Text Format Elements

Hello there,



im getting kind of hopeless here.



Im using DFT to access the Elements of a table in an Application written in VB.



Some of the elements are formatted with rtf and it seems I can't find those Elements by their names.



When I take a look at the Text Property, I get a huge rtf String:



{\rtf1\ansi\ansicpg1252\uc1\deff0{\fonttbl ......... Accelerate Vehicle}



While "Accelerate Vehicle" is the Element im trying to access.



Is there a good way to access those Elements without resorting to the index?

3 Replies

  • Ok here it goes.



    First a Snapshot of the Container(trying to expand 'Accelerate Vehicle'):





    Here the exported Object Snapshot:

    Object Snapshot

  • Hi Oliver,


     


    The object whose snapshot you posted has the unique name - VBObject("lstResult"). Please check that if I'm wrong. If there are no elements with this name, you can use this property to map the object. Besides that, I think you can use the NativeVBObject properties for mapping.