Search found 365 matches

by sritcp
Thu Jul 11, 2019 3:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I don't understand this error I'm getting
Replies: 11
Views: 556

Re: I don't understand this error I'm getting

Try inserting

Code: Select all

put cutlist_tWeight + 0 into cutlist_tWeight
before the failing line.

Sri
by sritcp
Mon Jul 08, 2019 7:10 pm
Forum: Internet
Topic: How to check if there is internet connection?
Replies: 6
Views: 523

Re: How to check if there is internet connection?

@bogs, thanks for the link. It should do. I'll check it out. @jacque, yes, I was thinking along the same lines, that the initial act of setting credentials on (say,) AWS should serve as a check (if we are not accessing public web pages on the internet). (I am still learning the intricacies of AWS). ...
by sritcp
Mon Jul 08, 2019 6:47 pm
Forum: Feature Requests
Topic: Accordion Widget
Replies: 6
Views: 481

Re: Accordion Widget

Hi bogs:

Yes, Bernd's table is very nice.
I was thinking about exploiting the potential of "widgets", and a feature-rich table is a good candidate.

Regards,
Sri
by sritcp
Mon Jul 08, 2019 2:53 pm
Forum: Feature Requests
Topic: Accordion Widget
Replies: 6
Views: 481

Re: Accordion Widget

Hermann: I agree. More generally, the reason for my original post is my surprise (and disappointment) at how few widgets have been created since the advent of LCB. I'd expected to be flooded with dozens of widgets, both official (by RunRev) and unofficial (user contribution), little utilities coveri...
by sritcp
Mon Jul 08, 2019 2:26 pm
Forum: Internet
Topic: How to check if there is internet connection?
Replies: 6
Views: 523

Re: How to check if there is internet connection?

Thanks, Jacque & bogs! Good enough but we can't know if the site is down or we don't have internet connection. We can reduce the probability of false positive if we check two websites, I guess. There must be a webpage with small amount of content but near 100% uptime that one can use for this purpos...
by sritcp
Sat Jul 06, 2019 2:34 pm
Forum: Internet
Topic: How to check if there is internet connection?
Replies: 6
Views: 523

How to check if there is internet connection?

Before accessing, say, an online file, an app has to check if there is an internet connection, right? Is there an LC command to do this? tsNetGetStatus(pID) seems to be for a specific transfer, not a general check. There is a section in the User Guide named "Transferring Information with Files, the ...
by sritcp
Sat Jul 06, 2019 2:04 pm
Forum: Feature Requests
Topic: Accordion Widget
Replies: 6
Views: 481

Re: Accordion Widget

Hi Hermann: Yes, I was able to make a basic accordion quite easily with basic text fields. Once I started factoring in the number of options, images, tables, and increasing the number of levels, it got complicated (especially the lay-outing). So, I thought it may have general utility as a widget. I ...
by sritcp
Fri Jul 05, 2019 9:21 pm
Forum: Feature Requests
Topic: Accordion Widget
Replies: 6
Views: 481

Accordion Widget

Accordions, which fold out to show the content one (or more) level below, are very useful. They are commonly found on many websites and apps, and are very useful for making multi-level outlines. Making one in LC is not trivial, with so many possible optional properties. It may be a worthwhile widget...
by sritcp
Thu Jun 20, 2019 2:21 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: More than one browser object on a card?
Replies: 7
Views: 673

Re: More than one browser object on a card?

I have figured out the issue, I think. The group (with the browser) has to start out hidden in my program and is shown when a button is clicked. This seems to be the issue. If the card opens with the group showing, there is no problem, But when the group is hidden and is then shown, both browsers st...
by sritcp
Thu Jun 20, 2019 2:02 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: More than one browser object on a card?
Replies: 7
Views: 673

Re: More than one browser object on a card?

Tried it on 9.0.4 Same result. Didn't try with 9.0.5 etc. I generally like to keep away from release candidates and previews. Once the browsers vanish, I can get back one of them (the one within a group), by clicking the visibility button on the Project Browser (by hiding and showing). The other bro...
by sritcp
Thu Jun 20, 2019 1:11 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: More than one browser object on a card?
Replies: 7
Views: 673

Re: More than one browser object on a card?

Sorry, forgot to mention.
I am using LC 9.0.2 on Mac 10.14.5
by sritcp
Wed Jun 19, 2019 11:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: More than one browser object on a card?
Replies: 7
Views: 673

Re: More than one browser object on a card?

Ok, I got it! I needed to zip it. Open the stack; card 1 is a dummy with a button to go to card 2. Card 2 has two browsers - one on the card, the other inside a group on the card. They are set to sample .pdf files online. If the pdf files show on the first go-around, please navigate to the first car...
by sritcp
Wed Jun 19, 2019 11:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: More than one browser object on a card?
Replies: 7
Views: 673

Re: More than one browser object on a card?

Hi Richmond: I had not posted the stack to begin with because the answer might simply be that more than one browser widget is not allowed on a card - no need to investigate further. In any case, when I try to upload, it says "invalid file extension: .livecode". When I click "Add File" under "Attachm...
by sritcp
Wed Jun 19, 2019 9:44 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: More than one browser object on a card?
Replies: 7
Views: 673

More than one browser object on a card?

I understand that the browser displays above all other controls regardless of its layer number. Does that mean you cannot have more than one (non-overlapping) browser widgets on a card? I am having problems with two browser widgets on a card (one of them part of a group, which stays invisible and is...

Go to advanced search