10 messages in org.openoffice.fr.progRe: [prog] [Base] Probléme assignatio...
FromSent OnAttachments
Arnaud POUSSIERDec 14, 2006 9:22 am 
Christine BrouDec 14, 2006 11:23 am 
Arnaud POUSSIERDec 15, 2006 12:20 am 
Alain NowakDec 15, 2006 3:37 am 
Arnaud POUSSIERDec 15, 2006 4:57 am 
Laurent GodardDec 15, 2006 5:11 am 
Arnaud POUSSIERDec 15, 2006 7:17 am 
Christine BrouDec 15, 2006 9:40 am 
Arnaud POUSSIERDec 15, 2006 9:58 am 
Arnaud POUSSIERDec 15, 2006 10:39 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] [Base] Probléme assignation de macroActions...
From:Arnaud POUSSIER (arna@douane.finances.gouv.fr)
Date:Dec 15, 2006 12:20:38 am
List:org.openoffice.fr.prog

Christine a écrit:

Bonjour, J'ignore comment est faite ta macro de plein écran, mais tu récupères ton formulaire par:

monDoc = lesForm.loadComponentFromURL(monForm.Name, "", 0, optFichier()) dans la macro d'ouverture du formulaire

et tu appliques ta macro plein écran sur monDoc

Christine

Bonjour et merci de d'être penché sur mon probléme.

J'ai refait la macro comme ceci:

Sub OuvrirFormulaire() dim optFichier(2) as new com.sun.star.beans.PropertyValue

monDoc = thisComponent lesForm = monDoc.Parent.FormDocuments monForm = lesForm.getByName("NomFormulaire")

optFichier(0).Name = "ActiveConnection" optFichier(0).Value = monDoc.Parent.DataSource.getConnection("","") optFichier(1).Name = "OpenMode" optFichier(1).Value = "open"

lesForm.loadComponentFromURL(monForm.Name, "", 0, optFichier()) monDoc = lesForm.loadComponentFromURL(monForm.Name, "", 0, optFichier()

Call FullOn 'nom de la macro plein écran

End Sub

Mais apparement cela ne marche pas au niveau de l'appel de la macro

Si quelqu'un à une idée je suis preneur

Bonne journée à tous