bonjour,

je recherche un document en pdf qui explique le fonctionnement de
libreoffice basic.

Car j'ai un code:

REM  *****  BASIC  *****
Sub Dialog1Show ' fenetre avec 2 (textfield)Valeurs CBSA et DOBSA et un
bouton fait avec IDE
DialogLibraries.LoadLibrary( "Standard" )
oDialog1 = CreateUnoDialog( DialogLibraries.Standard.Dialog1 )
oDialog1.Execute()

'je pense que je dois mettre mon bout de code ici
'le fait de valider les 2 valeurs CBSA et DOBSA en cliquant sur un bouton

End Sub

Sub Main
Dim Doc As Object
Dim Sheet As Object
Dim Cell As Object
dim pointbsa as integer
pointbsa=inputbox("Nombres de points BSA", "Courbe BSA","")
dim I
for I = 1 to pointbsa
Dialog1Show

Doc = StarDesktop.CurrentComponent
Sheet = Doc.Sheets(0)
Cell = Sheet.getCellByPosition(0, 0)
Cell.string = "[C]"
Cell = Sheet.getCellByPosition(1, 0)
Cell.String = "DO"
Cell = Sheet.getCellByPosition(0,I )
Cell.Value = CBSA
Cell = Sheet.getCellByPosition(1,I )
Cell.Value = DOBSA
next I
End Sub

je ne trouve pas comment mettre la fonction

button.onclick() comme dans VBA  dans ma macro

merci de votre aide.

PS: si je suis coincé je referai appel a vous



--
View this message in context: 
http://nabble.documentfoundation.org/information-a-propos-de-libreoffice-basic-pour-macro-tp4014875.html
Sent from the Discuss mailing list archive at Nabble.com.

-- 
Envoyez un mail à [email protected] pour savoir comment vous 
désinscrire
Les archives de la liste sont disponibles à 
http://listarchives.libreoffice.org/fr/discuss/
Tous les messages envoyés sur cette liste seront archivés publiquement et ne 
pourront pas être supprimés

Répondre à