Search found 122 matches

by Zax
Sun Nov 10, 2019 12:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Clear Browser widget cache?
Replies: 2
Views: 125

Re: Clear Browser widget cache?

Nice trick.
Thanks [-hh] :)
by Zax
Sun Nov 10, 2019 9:14 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Clear Browser widget cache?
Replies: 2
Views: 125

Clear Browser widget cache?

Hello,

Is there a way to clear a Browser widget cache with LC Indy 9.04?

Thank you.
by Zax
Wed Nov 06, 2019 11:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: empty Option Menu
Replies: 2
Views: 148

Re: Datagrid: empty Option Menu

bogs wrote:
Wed Nov 06, 2019 11:00 am
I would say it is because the grid isn't displaying the label of the option menu.
Great :)
I had to check "show name" in the Option Menu.
It works, thanks!
by Zax
Wed Nov 06, 2019 10:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: empty Option Menu
Replies: 2
Views: 148

Datagrid: empty Option Menu

Hello, I'm trying to use an Option Menu in a Datagrid cell. Populating is OK, changing cell value with Option Menu is OK... All is OK but the Menu always seems empty, even if the Datagrid's data is correct and it's menuHistory is correct. grid.jpg grid2.jpg At this time, Option menu text is "a b c" ...
by Zax
Wed Sep 18, 2019 2:16 pm
Forum: Internet
Topic: Browser widget timeout?
Replies: 15
Views: 1699

Re: Browser widget timeout?

In your initial posting you said that you get a TIMEOUT ("...while loading a distant web page in an existing Browser widget") and now you are telling us you don't? :shock: Nooooo dear Klaus! :oops: I asked how to correctly handle a timeout. I said I have a fast connexion, but slow connexion happens...
by Zax
Wed Sep 18, 2019 12:36 pm
Forum: Internet
Topic: Browser widget timeout?
Replies: 15
Views: 1699

Re: Browser widget timeout?

I performed another test with: Button script: on mouseUp urlTest end mouseUp Card script on urlTest set the socketTimeoutInterval to 1000--milliseconds put "https://livecode.com" into theUrl unload URL theUrl -- clear cache load URL theUrl with message "loadingComplete" end urlTest on loadingComplet...
by Zax
Wed Sep 18, 2019 8:20 am
Forum: Internet
Topic: Browser widget timeout?
Replies: 15
Views: 1699

Re: Browser widget timeout?

This is what I tried: Test button script on mouseUp set the socketTimeoutInterval to 1--milliseconds set the URL of widget "BrowserTest" to "https://livecode.com" end mouseUp Browser widget script on socketTimeout answer "Timeout! (widget)" end socketTimeout Card script on socketTimeout answer "Time...
by Zax
Tue Sep 17, 2019 3:52 pm
Forum: Internet
Topic: Browser widget timeout?
Replies: 15
Views: 1699

Re: Browser widget timeout?

Well, socketTimeout message doesn't seem to be sent, even when I use: set the socketTimeoutInterval to 1 In fact, I think I don't understand how to use sockets with Browser widget. Documentation says: If the socketTimeoutInterval passes and no data has been transmitted yet, the socketTimeout message...
by Zax
Tue Sep 17, 2019 1:34 pm
Forum: Internet
Topic: Browser widget timeout?
Replies: 15
Views: 1699

Re: Browser widget timeout?

Hello Klaus ! socketTimeoutInterval doesn't seem to work with a Browser widget. That's why I originaly posted in Widgets sub-forum, following [-hh] 's advice here: https://forums.livecode.com/viewtopic.php?f=8&t=33106&start=15 There is an own subform for LiveCode Builder (especially widgets (especia...
by Zax
Tue Sep 17, 2019 12:42 pm
Forum: Internet
Topic: Browser widget timeout?
Replies: 15
Views: 1699

Browser widget timeout?

Hello, I'm not familiar with the Browser widget and I would like to know the better way to set and handle a timeout while loading a distant web page in an existing Browser widget. I know I can check is the page is loaded or failed with browserDocumentLoadComplete and browserDocumentLoadFailed , but ...
by Zax
Tue Sep 17, 2019 8:49 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: HTML source code within Web Browser?
Replies: 17
Views: 787

Re: HTML source code within Web Browser?

@ [-hh] : Thanks for the link.
@ bogs : just took a look at the Edlin Wikipedia page... I guess it was funny to use :wink:
by Zax
Mon Sep 16, 2019 12:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: HTML source code within Web Browser?
Replies: 17
Views: 787

Re: HTML source code within Web Browser?

Thanks bogs, I'm not familiar with these "new" widgets (I started coding with Hypercard :P ). My next question would be about parsing DOM with a pure LC solution and build an array in order to perform accurate node search. Maybe something like https://simplehtmldom.sourceforge.io/ for PHP. But first...
by Zax
Mon Sep 16, 2019 7:51 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: HTML source code within Web Browser?
Replies: 17
Views: 787

Re: HTML source code within Web Browser?

If the browser widget already is displaying the URL, you can also: get the htmltext of widget "browser" Perfect! Now Javascript generated code appears in the "source" web page. Thank you very much :) To go further, is there a way to know when the web page displayed in the widget is fully loaded? ( ...
by Zax
Sun Sep 15, 2019 12:20 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: HTML source code within Web Browser?
Replies: 17
Views: 787

Re: HTML source code within Web Browser?

Simple and great !
Thanks bogs :)
by Zax
Sun Sep 15, 2019 11:07 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: HTML source code within Web Browser?
Replies: 17
Views: 787

HTML source code within Web Browser?

Hello,

Is there a way to retrieve the source code of a web page - a distant URL - displayed in a LC 9 web browser (widget or revBrowserSet command)?

Thank you.

Go to advanced search