Search found 78 matches
- Sun Oct 15, 2023 11:01 pm
- Forum: Windows
- Topic: "Enabled of menuitem" doesn't work on Windows standalone
- Replies: 6
- Views: 7337
Re: "Enabled of menuitem" doesn't work on Windows standalone
Thanks, Sparkout. I'm using option menus. I tested with a pulldown menu and it worked as advertised. The problem is I don't want to use pulldown menus, which are meant to be used in the menubar. I considered putting my row of menus (see attached) in the menubar but chose not to because for clarity I...
- Sun Oct 15, 2023 6:08 pm
- Forum: Windows
- Topic: "Enabled of menuitem" doesn't work on Windows standalone
- Replies: 6
- Views: 7337
Re: "Enabled of menuitem" doesn't work on Windows standalone
I haven't used menuItems much but I don't think each menu item has individual properties because they exist in a list. Try changing your code to look something more like this: CODE: SELECT ALL if demoRunning then disable menuItem i of button "someButtonName" else enable menuItem i of button "someBu...
- Sun Oct 15, 2023 4:56 pm
- Forum: Windows
- Topic: "Enabled of menuitem" doesn't work on Windows standalone
- Replies: 6
- Views: 7337
Re: "Enabled of menuitem" doesn't work on Windows standalone
Well, it's embarrassing I didn't see that. The Mac version working fine despite the error misled me into not looking for such a cause.
Alas, though: Fixing the oversight made no difference. The problem still exists on the Windows standalone.
Alas, though: Fixing the oversight made no difference. The problem still exists on the Windows standalone.
- Sun Oct 15, 2023 3:12 pm
- Forum: Windows
- Topic: "Enabled of menuitem" doesn't work on Windows standalone
- Replies: 6
- Views: 7337
"Enabled of menuitem" doesn't work on Windows standalone
I develop on Mac. Everything is fine with standalones of my main app for both Mac and Windows. I'm ready to "go live" on my website and publicize my app and website by email blasts and other means. Just one problem remains: The plan is to include Mac and Windows demo versions of my app with only cer...
- Thu Oct 05, 2023 2:51 am
- Forum: Windows
- Topic: Menubar on Windows
- Replies: 18
- Views: 25658
Re: Menubar on Windows
I hate to be one of those "RTFM" dudes, but this is a good case where reviewing the User Guide on menus would help. The short version: To accommodate the differences between Mac and everything else, the last two items of an Edit menu should be a separator line ("-") followed by "Preferences...". On...
- Wed Oct 04, 2023 10:51 pm
- Forum: Windows
- Topic: Menubar on Windows
- Replies: 18
- Views: 25658
Re: Menubar on Windows
Oops, I should have noted that the problem just noted only occurs on Mac. Both menu items show on Windows.
- Wed Oct 04, 2023 10:47 pm
- Forum: Windows
- Topic: Menubar on Windows
- Replies: 18
- Views: 25658
Re: Menubar on Windows
I FINALLY have the menubar working properly on both Mac and Windows. A huge thanks to all posters for the helpful guidance! No doubt the process would have taken MUCH longer working without assistance. This forum is a really great resource! As long as I have this expert attention, though, a final (f...
- Tue Oct 03, 2023 11:58 pm
- Forum: Windows
- Topic: Menubar on Windows
- Replies: 18
- Views: 25658
Re: Menubar on Windows
Mac OS requires a File, Edit, and Help menu and those can't be removed. In my original post I mentioned that my custom menubar on Mac was at first working properly. Here's a closeup of the upper left corner of an earlier standalone, showing File and Help menus in the Mac menubar but no Edit (which ...
- Tue Oct 03, 2023 9:21 pm
- Forum: Windows
- Topic: Menubar on Windows
- Replies: 18
- Views: 25658
Re: Menubar on Windows
I appreciate the further input from Richard and Jacqueline. The info in your note and website, Jacqueline, helped me understand the processes better. I'm still befudddled by two issues, though: The first attachment shows Menu Builder status with "Set as stack Menu bar" checked. This is how a Mac sta...
- Tue Oct 03, 2023 1:57 pm
- Forum: Windows
- Topic: Menubar on Windows
- Replies: 18
- Views: 25658
Re: Menubar on Windows
Yes, in Menu Builder I had my custom menubar designated as such, and "Set as stack Menu bar" checked. As I mentioned that was working fine on Mac--in both development and run-time modes--but not on Windows. And now, out of nowhere it seems, that has switched! On Mac my custom menubar is being ignore...
- Mon Oct 02, 2023 8:44 pm
- Forum: Windows
- Topic: Menubar on Windows
- Replies: 18
- Views: 25658
Re: Menubar on Windows
Thanks for the reply, Craig. I work on Mac, so the graphic I posted is a mockup on Mac of what needs to be accomplished on Windows, namely, creating a strip at the top of the app window for the menubar menus, in my case just File and Help. So a Windows window needs to have greater height. I can code...
- Mon Oct 02, 2023 2:24 pm
- Forum: Windows
- Topic: Menubar on Windows
- Replies: 18
- Views: 25658
Menubar on Windows
I'm aware of the difference in placement of the menubar Mac vs. Windows, and have come across that factor in reading through various LIvecode online user instruction materials, but it isn't clear to me yet how to deal with it. The "set the menuBar of this stack to <groupname>" command works fine. On...
- Sun Mar 05, 2023 10:00 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Baffling script error
- Replies: 3
- Views: 1914
Re: Baffling script error
Well, that's a bit embarrassing. I had gotten into the habit of not declaring local variables because Livecode allows that when Strict Compilation--which I knew nothing about--is not chosen in Preferences. It's a mystery how that got checked, but hey, there are plenty of mysteries in life. Thanks fo...
- Sun Mar 05, 2023 7:47 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Baffling script error
- Replies: 3
- Views: 1914
Baffling script error
My stack of many hundreds of hours work was working just fine, then a script error has popped up that I can't make sense of. The error message is "compilation error at line <number> (Chunk: can't create a variable with that name..." (see attached) If I comment out that line the error goes to the nex...
- Wed Feb 22, 2023 10:05 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Mac code signing difficulty
- Replies: 5
- Views: 1878
Re: Mac code signing difficulty
I installed that certificate, but it didn't help.