| View previous topic :: View next topic |
| Author |
Message |
Didier Guest
|
Posted: Thu Mar 27, 2003 2:21 am Post subject: Changing the label of a FrameControl in a DiaIog |
|
|
Hello,
I would like to change dynamically the label of FrameControl or GroupBox in a
Basic Dialog from a Calc macro, but I've not found how to do it.
I can change the label of any dialog element such as a button using:
oDialog.getControl("Button").setLabel ("label string")
but it doesnt work for a Frame.
I've tried:
oDialog.getControl("Frame").setLabel ("label string")
&
oDialog.getControl("Frame").Label = "label string"
without success.
Does anybody knows ho I can do it ?
Didier |
|
| Back to top |
|
 |
mariuszek General User

Joined: 24 Mar 2003 Posts: 9
|
Posted: Thu Mar 27, 2003 4:28 pm Post subject: |
|
|
try this
oDialog.Title = 'greetings from Mariuszek'
it works at my form
if you want to see properties,methods or supported interfaces of some object you have, type in your
oDialog.dbg_Properties
oDialog.dbg_Methods
oDialog.dbg_SupportedInterfaces
I've learned today Very smart and helpfull |
|
| Back to top |
|
 |
|