Search found 139 matches

by Zax
Thu Nov 28, 2019 2:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Flash Player error with Browser widget
Replies: 14
Views: 865

Re: Flash Player error with Browser widget

This isn't an ordinary alert, you can see that from the "Annuler" option. It's an ordinary JS confirm , screened form localized french Safari. So I extend your JS script in order to hack JS confirm and so far it seems to work :) I think LC displays original JS confirms as LC alerts - see my first s...
by Zax
Tue Nov 26, 2019 10:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 25
Views: 1336

Re: Datagrid: changing cell style

I hope someday LC makes a DG-type control that's native rather than grafted on, with LC-style syntax rather than its own special syntax, and intuitive operation rather than column behavior row template gobbledegook. I have a dream... :wink: This is what I finally did (its's not perfect): I have a c...
by Zax
Mon Nov 25, 2019 8:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 25
Views: 1336

Re: Datagrid: changing cell style

MichaelBluejay wrote:
Sun Nov 24, 2019 7:04 pm
I would love if you could tell me how you did that.
I found infos there:
https://livecode.com/docs/9-5-0/compone ... data-grid/
by Zax
Sun Nov 24, 2019 10:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 25
Views: 1336

Re: Datagrid: changing cell style

Regular LC fields are OK - and very convenient to use - unless some buttons or icons are needed in lines. Concerning my problem of how to change the background of a cell from another cell, I just realized I put a Option Menu button , and a checkbox in a Table DG... Maybe it's the reason why I don't ...
by Zax
Sat Nov 23, 2019 11:05 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 25
Views: 1336

Re: Datagrid: changing cell style

A checkbox can respond to mouse events to set properties of other objects. Both the object being clicked and the object being affected are members of the same row group, e.g., they have the same owner. So putting that together, off the top of my head it might be something like: on mouseUp set the b...
by Zax
Fri Nov 22, 2019 8:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 25
Views: 1336

Re: Datagrid: changing cell style

Sorry, I can't... For several reasons: 1 - I only used some DG tables , and not forms. 2 - I spent much more than half an hour to understand how to put a button in a column, so I'm very far to be a DG master. 3 - Each time I modify a DG, I first save a copy of the stack, because very often I made so...
by Zax
Wed Nov 20, 2019 3:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Flash Player error with Browser widget
Replies: 14
Views: 865

Re: Flash Player error with Browser widget

I think the alert came from nasty advertising, and it only happens some times, but I finaly encountered it with Safari :
Capture d’écran 2019-11-20 à 15.07.37.jpg
I don't understand why it is not trapped with JS, but I don't know how Chromium engine works.
by Zax
Wed Nov 20, 2019 2:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Flash Player error with Browser widget
Replies: 14
Views: 865

Re: Flash Player error with Browser widget

Thanks [-hh], I didn't know this way of trapping JS alerts.
Unfortunately, in my case, this strange "Flash" alert sent by the widget is not trapped and displays a modal dialog (though regular JS alerts are well trapped).
by Zax
Tue Nov 19, 2019 4:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Flash Player error with Browser widget
Replies: 14
Views: 865

Re: Flash Player error with Browser widget

Bad news (for me): Alerts sended by the Browser widget are not treated as "Answer" modal dialogs. It can be easily tested by adding a Javascript with "alert('JS alert');" to the widget. Though "regular" answers are well dismissed with Klaus' script, modal dialogs sended by the widget are not. Still ...
by Zax
Tue Nov 19, 2019 1:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Flash Player error with Browser widget
Replies: 14
Views: 865

Re: Flash Player error with Browser widget

Klaus wrote:
Tue Nov 19, 2019 1:15 pm
Your message contains 6 characters.
You need to enter at least 10 characters.
sfasdfasdfasdfasdf

;)
by Zax
Tue Nov 19, 2019 1:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Flash Player error with Browser widget
Replies: 14
Views: 865

Re: Flash Player error with Browser widget

Well, I found a hack... in one of your old post, Klaus :) https://forums.livecode.com/viewtopic.php?t=17860 on mouseUp ## Important part to send BEFORE the dialog ;-) send "closeit" to me in 2 secs answer "sfasdfasdfasdfasdf" end mouseUp command closeit close stack "Answer Dialog" end closeit
by Zax
Sat Nov 16, 2019 2:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid: changing cell style
Replies: 25
Views: 1336

Datagrid: changing cell style

Hello,

If a Datagrid cell is a checkbox, is there a way to modify the colors - foreground or background - of *another* cell of the same line, when the checkbox is clicked?

Thank you.
by Zax
Thu Nov 14, 2019 2:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Flash Player error with Browser widget
Replies: 14
Views: 865

Re: Flash Player error with Browser widget

Klaus wrote:
Thu Nov 14, 2019 2:45 pm
Hm, sorry, no idea if "lock error dialogs" will work for the browser widget.
I just tried: "lock error dialogs" *not* works for the browser widget. :(
by Zax
Thu Nov 14, 2019 2:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Flash Player error with Browser widget
Replies: 14
Views: 865

Re: Flash Player error with Browser widget

Hello Klaus,

No, I never encounter this flash alert when using Firefox on MacOS Sierra and Windows 10.
Once again, this strange Flash error is not the real problem. My problem is how to continue process. Maybe I could use lock error dialogs?
by Zax
Thu Nov 14, 2019 12:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Flash Player error with Browser widget
Replies: 14
Views: 865

Flash Player error with Browser widget

Hello, I sometimes encounter an error with a Browser widget . LC displays this modal dialog alert: Capture d’écran 2019-11-14 à 12.47.24.jpg First, I don't understand the reason of this alert, but maybe it's due to the loaded website. The real problem is that this alert is modal . Is there another w...

Go to advanced search