

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
13 messages in org.openoffice.fr.progRE: [prog] Remplir un combo ooo2.01| From | Sent On | Attachments |
|---|---|---|
| Jovial | Jan 28, 2006 3:14 am | |
| BRONCHART Philippe | Jan 30, 2006 11:26 am | |
| oo...@volcar.org | Jan 30, 2006 12:57 pm | |
| BRONCHART Philippe | Jan 30, 2006 2:05 pm | |
| Bernard Marcelly | Jan 31, 2006 12:10 am | |
| BRONCHART Philippe | Feb 6, 2006 4:41 am | |
| Jovial | Feb 6, 2006 12:39 pm | |
| Arnaud POUSSIER | Feb 12, 2006 10:17 am | |
| Catherine Bancillon | Feb 13, 2006 1:50 am | |
| Catherine Bancillon | Feb 13, 2006 1:55 am | |
| Catherine Bancillon | Feb 13, 2006 2:02 am | |
| Didier Dorange-Pattoret | Feb 13, 2006 3:28 am | |
| BRONCHART Philippe | Feb 13, 2006 1:19 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | RE: [prog] Remplir un combo ooo2.01 | Actions... |
|---|---|---|
| From: | BRONCHART Philippe (phil...@laposte.net) | |
| Date: | Jan 30, 2006 2:05:08 pm | |
| List: | org.openoffice.fr.prog | |
Bonsoir
Non rien à faire
Variable objet non paramétrée ...
Comprends pas ...
-----Message d'origine----- De : oo...@volcar.org [mailto:oo...@volcar.org] Envoyé : lundi 30 janvier 2006 21:58 À : pr...@fr.openoffice.org Objet : Re: [prog] Remplir un combo ooo2.01
Bonsoir,
Regarde cet exemple :
oCombo = oDialog.getControl("leCombo")
Do While oSheet.getCellByPosition(0, i).String <> "" 'oCombo.removeItems(i,oCombo.ItemCount)
oCombo.addItem(oSheet.getCellByPosition(0, i).String, i) i = i + 1 Loop
-- Francois GATTO
Selon BRONCHART Philippe <phil...@laposte.net>:
Bonjour à tous
Jai un souci avec mon code qui me revoit une erreur. Ce doit être un souci de variable, mais je ne comprends pas
Dim i As integer
Dim oSheets As Object
Dim combo as String
Odocument=ThisComponent
oSheet = oDocument.Sheets.getByName("Config")
bibli = DialogLibraries.GetByName("Standard")
monDialogue = bibli.GetByName("Dialog2")
Odialog = CreateUnoDialog(monDialogue)
On alimente le combo avec la plage de cellule de la colonne A ( de la feuille config)
Do While oSheet.getCellByPosition(0, i).String <> "" tant que la cellule de la colonne A nest pas vide
oDialog.getControl(Combo).additem(oSheet.getCellByPosition(0, i).String, oDialog.getControl(Combo).ItemCount) on alimente le combo
i = i + 1
Loop
End Sub
Une idée ?
Amicalement Philippe
--------------------------------------------------------------------- To unsubscribe, e-mail: prog...@fr.openoffice.org For additional commands, e-mail: prog...@fr.openoffice.org
--- Antivirus avast! : message Entrant sain. Base de donnees virale (VPS) : 0605-1, 30/01/2006 Analyse le : 30/01/2006 22:26:07 avast! - copyright (c) 1988-2005 ALWIL Software. http://www.avast.com
--- Antivirus avast! : message Sortant sain. Base de donnees virale (VPS) : 0605-1, 30/01/2006 Analyse le : 30/01/2006 23:05:32 avast! - copyright (c) 1988-2005 ALWIL Software. http://www.avast.com







