Search found 8 matches
- Wed Apr 26, 2023 11:50 pm
- Forum: Talking LiveCode
- Topic: Group with controls including effects
- Replies: 4
- Views: 2175
Re: Group with controls including effects
OK, yeah, I guess that's the only solution. Thanks!
- Wed Apr 26, 2023 9:33 pm
- Forum: Talking LiveCode
- Topic: Group with controls including effects
- Replies: 4
- Views: 2175
Re: Group with controls including effects
In your example, the effects are applied to the group. I'm talking about when the controls have the effect, and the group itself does not. This becomes an issue if you have a group that has some controls with a shadow effect, and others that don't have a shadow. In that case, you can't apply the sha...
- Wed Apr 26, 2023 8:06 pm
- Forum: Talking LiveCode
- Topic: Group with controls including effects
- Replies: 4
- Views: 2175
Group with controls including effects
Is there a way to get groups to consider the size of effects (eg Drop Shadow, OuterGlow, etc.) of controls? Livecode groups will cut off the shadow effect if the group's margin isn't large enough, and groups don't take any effect size into account. I see that there are a couple feature requests that...
- Wed Jan 26, 2022 9:17 pm
- Forum: Mac OS
- Topic: the driverNames not finding usb to serial controller on Big Sur
- Replies: 13
- Views: 10607
Re: the driverNames not finding usb to serial controller on Big Sur
but if I try read from file "/dev/XXXXX" the stack crashes I assume I don't have the correct permissions to read from "/dev/..." etc Have you tried open driver "/dev/XXXXX" for (binary/text) (read/write/update) ? I don't know what the implementation of the open/close driver is under the hood; but t...
- Wed Sep 08, 2021 9:13 pm
- Forum: Talking LiveCode
- Topic: Exact name reference
- Replies: 7
- Views: 3542
Re: Exact name reference
Thanks everyone for the suggestions. I tend to agree that the ideal case would be to name everything uniquely. I think the case where this wouldn't be possible is somewhat theoretical. My idea would be something like: I have a set of grouped controls, which functions as a tabbed group. All the code ...
- Fri Sep 03, 2021 10:21 pm
- Forum: Talking LiveCode
- Topic: Exact name reference
- Replies: 7
- Views: 3542
Exact name reference
Livecode's normal behavior for referencing controls is to reference the first control (in layer order) that matches. Is there a way (besides using control id) to force livecode to do an exact path match of a reference? Example: I have a group "abc". Inside group "abc", I have two controls: group "de...
- Mon Aug 29, 2016 6:43 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: passing a field as an argument
- Replies: 3
- Views: 2065
Re: passing a field as an argument
Awesome, thanks so much for the help!
Richard, that sounds like great advice regarding variable naming; I'll definitely adopt that convention.
Richard, that sounds like great advice regarding variable naming; I'll definitely adopt that convention.
- Mon Aug 29, 2016 5:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: passing a field as an argument
- Replies: 3
- Views: 2065
passing a field as an argument
I want to take a field (name or id) as a parameter, and then write into that field. Currently the code looks like this: command writeOutput pField put "Hello" after pField with the call being something like: put the long id of fld "test" into tTest writeOutput tTest However, this just updates the pF...