Tab Text

Tab Text

isocam
Collaborator Collaborator
286 Views
2 Replies
Message 1 of 3

Tab Text

isocam
Collaborator
Collaborator

Can anybody help?

 

I am writing a Vb.Net "Addin" for inventor that creates HTML code.

 

I need to be able to "TAB" the right most string so that the output lines up.

 

For example (Before TAB),

 

1 HELLO

12 TO

123 THE

1234 WORLD

 

However, I need the right hand text to line up, thus....

 

1                  HELLO

12                TO

123              THE

1234            WORLD

 

Does anybody know how to do this using HTML "TAB" as the left side text can be anything from one to 20 characters in length???

 

Many thanks in advance!

 

Darren

0 Likes
287 Views
2 Replies
Replies (2)
Message 2 of 3

bradeneuropeArthur
Mentor
Mentor
Maybe this will help you!

https://linuxhint.com/html-insert-tab-space-characters-code/

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 3

Michael.Navara
Advisor
Advisor

If you want to build HTML, use HTML table

Sample

HELLO
12 TO
123 THE
1234 WORLD

Source code

 

<table border="1" width="100%">
    <tbody>
        <tr>
            <td>1</td>
            <td>HELLO</td>
        </tr>
        <tr>
            <td>12</td>
            <td>TO</td>
        </tr>
        <tr>
            <td>123</td>
            <td>THE</td>
        </tr>
        <tr>
            <td>1234</td>
            <td>WORLD</td>
        </tr>
    </tbody>
</table>

 

 

0 Likes