4 messages in org.openoffice.fr.progRe: [prog] Maximiser une fenêtre
FromSent OnAttachments
SpiritofggDec 21, 2007 6:25 am 
yves dutrieuxDec 21, 2007 8:54 am 
SpiritofggDec 22, 2007 10:40 am 
yves dutrieuxDec 22, 2007 4:26 pm 
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] Maximiser une fenêtreActions...
From:yves dutrieux (ydut@gmail.com)
Date:Dec 21, 2007 8:54:15 am
List:org.openoffice.fr.prog

Bonsoir,

Le 21/12/07, Spiritofgg <spir@free.fr> a écrit :

Bonjour, Je recherche la meilleure façon d'ouvrir un formulaire dans oBase en le maximisant à l'ouverture. Quelqu'un a t il déjà fait?

François : Si j'ai bien compris le problème (?), voici une idée pour que le formulaire s'ouvre sur toute la taille de l'écran.

sub BaseFormResize 'Pour info ' http://api.openoffice.org/docs/common/ref/com/sun/star/awt/XWindow.html#setPosSize 'http://api.openoffice.org/docs/common/ref/com/sun/star/awt/PosSize.html

dim oDoc as object dim oWindow as object

oDoc = thisComponent oWindow = oDoc.getCurrentController().getFrame().getContainerWindow() oWindow.setPosSize( 0, 0, 1280, 800, 15 ) end sub

Francois Gatto

Yves

Bonnes fêtes à tous!