Tabset (panelH2)

  • Hallo Julian,

    die Sache mit den Tabset finde ich genial. Habe dazu aber ein paar Fragen.

    1. Wenn ich viele Tabsets erzeuge werden ab einer bestimmten Anzahl (je nach Bildschirmauflösung) nicht mehr alle angezeigt. Hier sollte ich die Möglichkeit haben (ähnlich Excell u.a) durch die Tabsets zu blättern. Hast du da etwas in dieser Richtung eingeplant ???? und gibt es eine Beschränkung der Anzahl der Tabsets ????

    2. Ich möchte ein Dokument erstellen, das an mehrere Empfänger gerichtet ist und erzeuge dazu für jeden Empfänger ein Tabset.
    Das Dokument besitzt individuelle Textpassagen (Anschriftenteil, Anreden usw... sprich Header u. Footer) und den Body-Teil, der für alle gilt (klasisches Beispiel für MailMerge).
    Ich möchte nun aber, dass Änderungen im "BODY-TEIL" eines Tabsets in allen anderen Tabsets ebenfalls ausgeführt werden.
    Kannst Du mir dazu einen Tipp geben, wie Du das machen würdest ????
    Ich setzte nämlich TextDynamic erst seit kurzem ein und die Einarbeitung in dieses SUPER Control ist doch recht aufwendig, da auch sehr wenig Beispiele (vor allem in VB) vorliegen.

    Für einen Tipp wäre ich sehr dankbar.
    Du kannst übrigens gerne auch auf Englisch antworten.

    Vielen Dank

    Helmut

    • Offizieller Beitrag

    Hi,

    1. No, there is no limitation of the count of tabs in the "PanelH2". But the scrolling buttons have not been implemented yet. Right now the tabs (internally they are buttons) wrap to the next line (which is invisible).

    2. "changes in body are made in several tabs at the same time"

    No, this is not possible and agaianst the idea of this feature. The documents are indivdual documents, the only thing they share are the fonmt and color mapping tables which makes it internally possible to just copy text from one to the other (RTFDataAppendTo)

    What you need can be done using mail merge. You only have to extract a copy of the body part (that must be inside a mail merge filed) from the current document and apply it to the other doecument after a change. For both the MailMerge feature is used, for the extraction (note that the text is Selected while the event OnFieldGetText is triggered) and the insertion.

    But to be honest, I would rather suggest to have just one body and switch the address part when changing the "tabs". I could add the possibility to have virtual tabs which are not connected to documents.

    But maybe you can start with an external tab to see how this works in reality.

    Regards,

    Julian