Paolo Mantovani wrote:

Attenzione: ripristinare le eventuali righe spezzate.
-----------------------------------------------------
REM  *****  BASIC  *****

Ciao Paolo, molto interessante la tua traduzione da java a starbasic!!!

[...]

        ' We want three columns
        oColumns.setColumnCount(3)

        ' Get the TextColumns, and make the middle one narrow with a larger 
margin
        ' on the left than the right
        aSequence() = oColumns.getColumns()

       oColumns.setColumns(aSequence)
> [...]

Per avere le colonne con le opzioni desiderate dovrebbero essere corrette le seguenti modifiche:

    ' We want two columns
    oColumns.setColumnCount(2)

    aSequence() = oColumns.getColumns()
    aSequence(0).Width=4818
    aSequence(0).LeftMargin=0
    aSequence(0).RightMargin=249
    aSequence(1).Width=4819
    aSequence(1).LeftMargin=249
    aSequence(1).RightMargin=0
        
    ' Set the updated TextColumns back to the XTextColumns
    oColumns.setColumns(aSequence)

E poi ci sono un po' di "fish" da togliere!

Ho trovato anche il seguente link:
    http://www.oooforum.org/forum/viewtopic.phtml?t=9949
in cui viene fatto qualcosa di simile utilizzando perĂ² le cornici di testo.

Ciao,
--
MC

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Rispondere a