Issues with Unit 2, Lesson 7 Assignment

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, asayd

Post Reply
bobcole
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 148
Joined: Tue Feb 23, 2010 10:53 pm

Issues with Unit 2, Lesson 7 Assignment

Post by bobcole » Sun May 03, 2020 6:34 pm

I am continuing my journey through LiveCode University - Personal Edition 1.8.1 (updated 2020-04-24 at 16:33:53)
I am using LiveCode Indy 9.5.1 with Mac Catalina (10.15.4) on a MacBook Pro (16 inch).

Here are some issues I have noticed LCU:

Lesson 6: LiveCode and Objects, Page 14 of 14
The last technique refers to the "Replicate" command which does not appear in my Indy 9.5.1 edition of LiveCode.

Assignment: Objects and Properties Exercise, Page 13 of 27
The two references to Style property ("Push Button" and "Square Button") do not appear in the example or in LiveCode Indy 9.5.1

Assignment: Objects and Properties Exercise, Page 25 of 27
The menuModes property doesn't appear in the property inspector in LiveCode Indy 9.5.1

Assignment: Objects and Properties Exercise, Page 26 of 27
I submitted a stack and it shows in the submissions list on Page 26.
However, the Self Evaluation tool does not show a Objects and Properties Exercise so I can't complete this Assignment.

The LCU app is excellent. A few fixes to the above issues would be great.
Bob

bogs
Posts: 5443
Joined: Sat Feb 25, 2017 10:45 pm

Re: Issues with Unit 2, Lesson 7 Assignment

Post by bogs » Sun May 03, 2020 8:28 pm

bobcole wrote:
Sun May 03, 2020 6:34 pm
Lesson 6: LiveCode and Objects, Page 14 of 14
The last technique refers to the "Replicate" command which does not appear in my Indy 9.5.1 edition of LiveCode.
'Replicate' was last seen in vers. 7.x under the 'Edit' menu, however, much like it sounds, it just means to make copies of whatever object your replicating. I really don't know why it was removed, I love using it for certain things, however, you can just hold the 'ctrl' key down (windows and 'nix, I think it is 'cmd' on mac) and left click/drag the object to copy it.Depending on how many objects your trying to copy, you can also select 2 of them and it will copy / move 2 of them, I'm sure you get the idea.

Not sure what you mean with the menu modes statement, could you expand on that a little?

I've never used the app, so I have no information about the last two statements
Image

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7335
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Issues with Unit 2, Lesson 7 Assignment

Post by jacque » Mon May 04, 2020 5:30 pm

On Mac, duplicating objects is Option-drag.

I think LC does a disservice to new users by not displaying menumode in the property inspector. It does exist, but LC has set up all the "different" buttons in the tool palette which already have their menumode set.

LC actually has only one button object and one field object. The different variations you see in the palette are just using different properties. If you want to change the menumode of a button you can still do it from the message box. The same is true for any other properties that aren't in the inspector.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9787
Joined: Fri Feb 19, 2010 10:17 am

Re: Issues with Unit 2, Lesson 7 Assignment

Post by richmond62 » Sat Nov 23, 2024 12:09 pm

Well: that disappearing post looked a bit 'botty', but I am quite grateful to it for bringing the thread to my attention.
I think LC does a disservice to new users by not displaying menumode in the property inspector.
emphasis mine.

What is this if not a menumode drop-down chooser?
-
Screenshot 2024-11-23 at 13.04.18.png
-

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9787
Joined: Fri Feb 19, 2010 10:17 am

Re: Issues with Unit 2, Lesson 7 Assignment

Post by richmond62 » Sun Nov 24, 2024 1:30 pm

I am a bit confused, Jacque, by your statement that a field has a menumode:
-
Screenshot 2024-11-24 at 14.29.22.png
-
The Dictionary does NOT list that among a field's properties.

So, how could one have a drop-down menu to select field types?

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9787
Joined: Fri Feb 19, 2010 10:17 am

Re: Issues with Unit 2, Lesson 7 Assignment

Post by richmond62 » Sun Nov 24, 2024 1:46 pm

Here's a stack I made earlier (2014) that lists a button as having an EMPTY menumode, which is also odd:
-
Screenshot 2024-11-24 at 14.45.53.png
Attachments
propz2.zip
Stack.
(1.13 KiB) Downloaded 88 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9787
Joined: Fri Feb 19, 2010 10:17 am

Re: Issues with Unit 2, Lesson 7 Assignment

Post by richmond62 » Sun Nov 24, 2024 1:49 pm

Of course one could get the property array for each kind of field and have a drop-down menu that set the props of a target field to those props in the array.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10055
Joined: Wed May 06, 2009 2:28 pm

Re: Issues with Unit 2, Lesson 7 Assignment

Post by dunbarx » Sun Nov 24, 2024 5:03 pm

Richmond.

I believe that many controls contain properties that have no effect on that control. These are visible in the "properties" property, but are inactive. In any case, Jacque was talking explicitly about buttons.

Craig

bobcole
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 148
Joined: Tue Feb 23, 2010 10:53 pm

Re: Issues with Unit 2, Lesson 7 Assignment

Post by bobcole » Sun Nov 24, 2024 5:28 pm

Jacque was talking explicitly about buttons.
If you replace the generic button with one of the menu buttons:
1. Option menu (option)
2. Pulldown menu (pulldown)
3. ComboBox menu (combobox)
4. Popup menu (popup)
5. Tabbed menu (tabbed)
you will see the menuMode of that button.
The generic button's menuMode is empty.
Bob
menuMode.livecode.zip
(1.29 KiB) Downloaded 76 times

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7335
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Issues with Unit 2, Lesson 7 Assignment

Post by jacque » Sun Nov 24, 2024 7:04 pm

richmond62 wrote:
Sun Nov 24, 2024 1:30 pm
I am a bit confused, Jacque, by your statement that a field has a menumode:
-
The Dictionary does NOT list that among a field's properties.

So, how could one have a drop-down menu to select field types?
I didn't actually say that, I said buttons have menumode. Then I went on to explain that not all properties are listed in the inspector but can be set in the message box, for any control. But of course the control must support the property you are trying to set.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “LiveCode University”