Search found 241 matches

by RossG
Mon Apr 19, 2021 12:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Case of the Missing Message Box
Replies: 9
Views: 4809

Re: Case of the Missing Message Box

I couldn't change the message box size when multiple lines mode was selected. In single-line mode I typed "put height of me" and got 330. For multiple lines the answer was 649. So in multiple line mode I typed "set height of me to 330" which fixed the problem. Does this mean that the message box has...
by RossG
Sun Apr 18, 2021 2:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Case of the Missing Message Box
Replies: 9
Views: 4809

Re: Case of the Missing Message Box

Five years later...

Got the message box back and its size is OK
when set for single line but when I select the
multiple line option the size increases to what
I would call inconvenient.

Any offers for a fix?
by RossG
Fri Jun 19, 2020 3:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Left Mouse Button not being Detected
Replies: 5
Views: 2720

Re: Left Mouse Button not being Detected

Richmond

Pleased to see that I'm not the only one who
forgot the easy way to show/hide an object
with --- "show graphic g1..." and "hide" ditto.

That aside your nice little stack answered my
next question so thanks for that.
by RossG
Thu May 28, 2020 8:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Hidden Objects
Replies: 8
Views: 3939

Hidden Objects

Is there a way/add-on that can show a list
of the hidden objects?

When there are a lot of them using the show
function isn't much help.
by RossG
Mon Aug 27, 2018 1:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sort List Fields
Replies: 11
Views: 6452

Re: Sort List Fields

Field 2 shows the stdDev and avgDev of the
sets of numbers in field 1 so when the deviations
are sorted I want the number sets to be in the
same order.
by RossG
Mon Aug 27, 2018 12:12 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sort List Fields
Replies: 11
Views: 6452

Sort List Fields

I have two list fields.
When I sort field f2 I want field f1 to be
sorted in the same order.

Stack attached.
by RossG
Sat Jun 16, 2018 3:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Text Entry field Cursor
Replies: 14
Views: 7529

Text Entry field Cursor

I have a text entry field for the user to add/modify data.
It works but is inconvenient as the cursor can't be
positioned with the mouse. Tried "set cursor to arrow"
without success.

London to a brick there's an solution and someone
here knows what it is. (LC 7.1.2, Win XP)
by RossG
Sat Jun 09, 2018 10:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: MouseUp or MouseDown?
Replies: 14
Views: 8226

Re: MouseUp or MouseDown?

Regarding "on mouseUp" allowing the user to
change his/her mind before releasing the
button isn't it normal for a programme to
allow the user to "undo" a wrong click?

So I find the argument for "on mouseUp" is
pretty feeble.
by RossG
Fri Jun 08, 2018 9:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: MouseUp or MouseDown?
Replies: 14
Views: 8226

Re: MouseUp or MouseDown?

I can't recall ever changing my mind mid-click
but perhaps one day...

Don't see anything in the Dictionary about
using left or right (or middle) mouse button.
Have I missed something?
by RossG
Thu Jun 07, 2018 10:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: MouseUp or MouseDown?
Replies: 14
Views: 8226

MouseUp or MouseDown?

I've long been intrigued by the default
"on mouseUp" since "on mouseDown" seems
more intuitive and I've recently found that
in some cases "mouseDown" works better.

Is there some history in the use of "mouseUp"?
by RossG
Thu May 24, 2018 6:14 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Putting some life into an empty field
Replies: 2
Views: 2477

Putting some life into an empty field

I have three fields which I've set up to
react to a mouseUp but I find that if
a field is empty it "plays dead" even
though I've added code to get a function
if "me is empty" but still no reaction.

Is there an answer?
by RossG
Sun May 20, 2018 2:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What line is it?
Replies: 5
Views: 4133

Re: What line is it?

Thanks for your help ClipArtGuy.

I must remember to use the field and
not the array which populates it (and
is superfluous anyway).
by RossG
Sun May 20, 2018 12:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What line is it?
Replies: 5
Views: 4133

What line is it?

I have a list field with two items per line..

17 18
22 19
13 21
27 26

I can find the line which item 2 matches
e.g 21 but I then need the line number so that I
can extract item 1 for that line and 3 or 4
lines before and after.
by RossG
Thu Apr 12, 2018 3:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mod Question
Replies: 6
Views: 4379

Re: Mod Question

Thanks guys for your help.

I ended up with what I think is a nifty bit of code...

Code: Select all

 repeat with x = 8 to min(36,(field SCount div 4 * 4)) step 4
This was to avoid a "divide by zero" error.
by RossG
Wed Apr 11, 2018 1:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mod Question
Replies: 6
Views: 4379

Re: Mod Question

Well, if I put 22 mod 5 the answer is 2 - the remainder.
whereas 22/5 is 4.4. The answer I want is 4 not 2.
Just coded it to delete char "." and following numbers.

While on the subject I wonder has anyone found a use
for "mod" and if so what was it.

Go to advanced search