| View previous topic :: View next topic |
| Author |
Message |
ActionAnt General User

Joined: 28 Sep 2010 Posts: 8
|
Posted: Tue Sep 28, 2010 10:15 am Post subject: How to get selected line from listbox |
|
|
Hi
Sorry in advance for any stupid questions... just started with OOo today.
I am using a query to fill a listbox with values.
When I select one of the values in the listbox I want to fill some other text fields with the items from the line that I have clicked on.
Could someone tell me what basic code I can write to retrieve the selected line's values?
Thanks in advance |
|
| Back to top |
|
 |
ActionAnt General User

Joined: 28 Sep 2010 Posts: 8
|
|
| Back to top |
|
 |
Villeroy Super User


Joined: 04 Oct 2004 Posts: 10065 Location: Germany
|
Posted: Tue Sep 28, 2010 11:58 am Post subject: |
|
|
Install the MRI extension and bind some event to Basic routine: MRILib.Module1.mri
Or call from the document window Tools>AddOns>MRI,
browse DrawPage>Form>getByName(<box name>) _________________ Rest in peace, oooforum.org
Get help on http://forum.openoffice.org |
|
| Back to top |
|
 |
|