Search found 2557 matches

by stam
Tue Apr 02, 2024 7:47 pm
Forum: Talking LiveCode
Topic: A combobox alternative
Replies: 15
Views: 896

Re: A combobox alternative

I am not sure if the components in the group resize as the group is resized. I realise it's difficult to read everything above when there's a lot of text. For your convenience: One thing that may be less clear is how to resize the dropdown. If resizing when collapsed, in only resizes the text entry...
by stam
Tue Apr 02, 2024 7:45 pm
Forum: Talking LiveCode
Topic: A combobox alternative
Replies: 15
Views: 896

Re: A combobox alternative

You should prevent the gadget from responding if the cursor is outside the rect of the group. I'll admit this one has me completely stumped. Scrolling and arrowKeys are set in the group's rawKeyDown handler and should not respond if the field hasn't go the focus. However in rawKeyDown, if I add the...
by stam
Tue Apr 02, 2024 7:22 pm
Forum: Talking LiveCode
Topic: A combobox alternative
Replies: 15
Views: 896

Re: A combobox alternative

Stam. Your v.2 gadget seems to work mostly fine. If you make the textSize too large, the "title" field (not the menuItem list) overloads. Also, the action is different from the stock version (and other such) in that the menuItem list is invoked on mouseUp, which is different than most, which fire o...
by stam
Tue Apr 02, 2024 2:21 am
Forum: Games
Topic: Ships - Tanks - Cars - Planes - Shots in Livecode
Replies: 10
Views: 1051

Re: Ships - Tanks - Cars - Planes - Shots in Livecode

Is important to say that at this moment LC only works for me to develop Minigames, not recommended for complex games. Games come in many forms. When complexity is mentioned, what is often meant is complexity with multiple moving objects, which leads to low frame rates - but we've also seen some fai...
by stam
Sun Mar 31, 2024 6:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 12
Views: 773

Re: How to replace the windows `beep` sound

Uh, that's what I said. And there are many ways to reach that interface. Using a typed command was simpler to describe than trying to lead someone through "click that,tab that". Umm... what you said was Press Windows key+R to bring up the Run box Type "control mmsys.cpl,,2" and hit enter. (Don't in...
by stam
Sun Mar 31, 2024 6:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC makes my stack a substack
Replies: 15
Views: 943

Re: LC makes my stack a substack

I've only skimmed the above, but agree with others: the substack may still be there and causing issues as the go stack command presumably sees that first. To make sure, you can look in the Project Browser (Tools menu), navigate to your mainstack and see if the substack is still there. Or even simple...
by stam
Sun Mar 31, 2024 12:12 pm
Forum: Talking LiveCode
Topic: A combobox alternative
Replies: 15
Views: 896

Re: A combobox alternative

Minor changes: - Fixed an issue with the reset-to-defaults - Changed the behavior to make it even clearer when an skComboBox is or isn't selected: Instead of covering the property editors with a graphic to make them inaccessible, the stack resizes to show or hide the property editors respectively: s...
by stam
Sun Mar 31, 2024 11:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 12
Views: 773

Re: How to replace the windows `beep` sound

Guys - I may be a bit dense on Win-related stuff but all the above seem unnecessarily convoluted. I can't see a need to either use a Run command or replace actual files in the OS. I had a quick look at my work PC as I'm on call again today. In short: Right-click on the speaker icon in the taskbar, c...
by stam
Sat Mar 30, 2024 2:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 12
Views: 773

Re: How to replace the windows `beep` sound

I have some vague recollection I could right-click on the sound icon in the taskbar and access it from there, but can’t check right now…
by stam
Sat Mar 30, 2024 1:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace the windows `beep` sound
Replies: 12
Views: 773

Re: How to replace the windows `beep` sound

However, I`m now wanting to replace the (windows) `beep` sound with something a little nicer, eg something like a piano note! Athough I guess not strictly a LC issue, I was wanting to ask if anyone was able to share how to do this! Buy a Mac ;) Really just kidding lol - I think you have to use the ...
by stam
Sat Mar 30, 2024 5:06 am
Forum: Talking LiveCode
Topic: A combobox alternative
Replies: 15
Views: 896

Re: A combobox alternative

I see that the new combo has to be selected for the other features to work back in the main SK stack. I could not change the submenus and make the new items stick. And afterwards, the actual SK gadget was unresponsive. Not a well presented list of issues, I know, but just a first try... Craig Hi Cr...
by stam
Sat Mar 30, 2024 4:36 am
Forum: Talking LiveCode
Topic: Palette stack of Custom Controls
Replies: 36
Views: 22428

Re: Palette stack of Custom Controls

I've already done that, well like everything else it's a work in progress, it reads IconSVG library's arrays, has drag to place, and a simple export to SVG file. SVG_Icons_Browser.rev.zip Hi Paul, thank so much for sharing this stack, it saved me a good few days (if not longer) of head-scratching, ...
by stam
Fri Mar 29, 2024 7:49 pm
Forum: Talking LiveCode
Topic: A combobox alternative
Replies: 15
Views: 896

Re: A combobox alternative

Hi Craig, I see that the new combo has to be selected for the other features to work back in the main SK stack. Yeah - how else would that work? it's like setting the properties in a the property panel... you have to select the object in the IDE. I could not change the submenus and make the new item...
by stam
Fri Mar 29, 2024 3:47 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 3126

Re: Code folding for Livecode 9.6.9 and up

Hi Bernd, One further observation: Your solution recognises multi-line comments (/*...*/) and assigns disclosure triangles correctly, but these are not collapsed with the Collapse All (cmd-K) command. Even when within a code block collapsed within #<...#</, these are still fully expanded: Screenshot...
by stam
Fri Mar 29, 2024 12:45 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 3126

Re: Code folding for Livecode 9.6.9 and up

Hi Bernd, 1 further reproducible issue: If part of the script is folded and you paste in text (in my case, a small handler), all the text from the insertion point and below (including what was pasted) becomes invisible. Specifically I have partitioned off sections of the script with the #< and #</ m...

Go to advanced search