Jürgen Schmidt wrote:
Rony G. Flatscher wrote:
Bonsoir Bernard,
Bernard Marcelly wrote:
Example in Basic:
sub doSomething(evt as object)
dim myDialog as object
myDialog = evt.Source.getContext()
end sub
Unfortunately, outside of OOo Basic for dialogs this is not
possible, as the invoke
Rony G. Flatscher wrote:
Bonsoir Bernard,
Bernard Marcelly wrote:
Example in Basic:
sub doSomething(evt as object)
dim myDialog as object
myDialog = evt.Source.getContext()
end sub
Unfortunately, outside of OOo Basic for dialogs this is not possible,
as the invoked script does not get the
Bonsoir Bernard,
Bernard Marcelly wrote:
Example in Basic:
sub doSomething(evt as object)
dim myDialog as object
myDialog = evt.Source.getContext()
end sub
Unfortunately, outside of OOo Basic for dialogs this is not possible,
as the invoked script does not get the event object supplied (it
Bonjour Rony G. Flatscher
Message du 2006-03-07 13:04:
Bernard Marcelly wrote:
Example in Basic:
sub doSomething(evt as object)
dim myDialog as object
myDialog = evt.Source.getContext()
end sub
Unfortunately, outside of OOo Basic for dialogs this is not possible, as
the invoked script doe
Bounjour Bernard,
Bernard Marcelly wrote:
Bonjour Rony G. Flatscher
Message du 2006-03-07 08:36:
Now, if such a script got invoked because a push button was pressed
on that dialog, how could that script get handles/references to the
other controls on the same dialog?
If I understand you wel
Bonjour Rony G. Flatscher
Message du 2006-03-07 08:36:
Now, if such a script got invoked because a push button was pressed on
that dialog, how could that script get handles/references to the other
controls on the same dialog?
If I understand you well...
The script invoked by the push button e
Hi there,
if one creates dialogs with the OOo 2.x dialog editor and assigns
scripts to be invoked via the scripting framework for certain events
(e.g. press of a push button), then that script is invoked and can get
access to an object that gets created as:
ScriptContext.createContext(m_xMode