[Solved] msgbox/OK

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
BubikolRamios
Posts: 91
Joined: Sat Jan 04, 2014 1:28 pm

[Solved] msgbox/OK

Post by BubikolRamios »

On form a button. inside also this code

Code: Select all

msgbox ("foo")
this produces box with OK button. Click on it - triggers also click on that form button.

Anyone with similar expirience ?
Last edited by robleyd on Wed Jun 02, 2021 12:56 am, edited 2 times in total.
Reason: Add green tick
OPen office 4.1.5/ win 7
User avatar
Zizi64
Volunteer
Posts: 11352
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: msgbox/OK

Post by Zizi64 »

Please upload a full sample file here with the buttons, forms, and macro code.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
BubikolRamios
Posts: 91
Joined: Sat Jan 04, 2014 1:28 pm

Re: msgbox/OK

Post by BubikolRamios »

Had that button event on receiving focus, hence from msg box focus dropped to button and event triggered.
OPen office 4.1.5/ win 7
Post Reply