Search found 707 matches

by mrcoollion
Sat Oct 07, 2023 2:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Copy and paste issue
Replies: 7
Views: 5137

Re: Copy and paste issue

I also noticed that Copy Paste with Ctrl-C and Ctrl-V does not work in version 10.0(dp 5) on Windows 11 as well as it did. Many times Ctrl-C does not copy the selected text and when i Paste nothing is pasted. Only when i press the Ctrl-C buttons for a longer period it seems to work. Annoying! Hope t...
by mrcoollion
Sat Jun 17, 2023 10:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Cannot put a second datagrid on the card.
Replies: 5
Views: 2441

Re: Cannot put a second datagrid on the card.

I also have had that problem on Windows.
Use the same workaround Klaus mentioned.
by mrcoollion
Wed Mar 29, 2023 11:34 am
Forum: Talking LiveCode
Topic: How to block passthrough click with popup
Replies: 10
Views: 5098

Re: How to block passthrough click with popup

Hi Klaus, This does work however I set it as below because only a MouseUp gave some strange results. Also it does prevent the mouse from clicking however when i click at any place in the card (that is not an object) it activates the last clicked button :shock: . put flushEvents("mouseUp") into temp1...
by mrcoollion
Wed Mar 29, 2023 10:58 am
Forum: Talking LiveCode
Topic: How to block passthrough click with popup
Replies: 10
Views: 5098

Re: How to block passthrough click with popup

HOWEVER, I have a feeling that IF one clicks on a button during the time the field is visible the mouseUp is somehow stored and activates after the field become invisible . . . not sure to be honest. This is exactly the problem! Does not matter if I use a Graphic or a Button. The MOUSE CLICK is sto...
by mrcoollion
Wed Mar 29, 2023 10:23 am
Forum: Talking LiveCode
Topic: How to block passthrough click with popup
Replies: 10
Views: 5098

How to block passthrough click with popup

Hi LC friends, I have the following challenge. I made a popup field that removes itself after a few seconds without user intervention. However, I also want to prevent the user from clicking on any of the buttons during the presentation of the popup field. I thought to solve this by creating a graphi...
by mrcoollion
Mon Mar 20, 2023 5:58 pm
Forum: Talking LiveCode
Topic: Find out where a command is triggered from
Replies: 9
Views: 7059

Re: Find out where a command is triggered from

Thanks all ! For learning me some new LC stuff. Used the below statements to get the information i was looking for. put the mainstack of this stack into tMainStackName put the id of recent card into tRecentCardID put the first line of the recentNames of stack tMainStackName into tRecentCardName Than...
by mrcoollion
Thu Mar 16, 2023 7:04 pm
Forum: Talking LiveCode
Topic: Does command recent not work anymore
Replies: 1
Views: 1421

Does command recent not work anymore

Hello LC friends, I tried the command recent (see dictionary) as shown below but it generates an error. If I use 'resent cards' the editor tells me this is a wrong statement. put recent card into tResentCard Am I doing something wrong or does 'resent card' not work in LC 10.0 (dp4)? Regards, Paul
by mrcoollion
Mon Mar 13, 2023 5:04 pm
Forum: Talking LiveCode
Topic: Find out where a command is triggered from
Replies: 9
Views: 7059

Re: Find out where a command is triggered from

Thanks,

Great suggestion. Although it is text one can get the button and card id and the stack from which the request for the command has originated from.

Thanks again Dick and Klaus.
by mrcoollion
Sun Mar 12, 2023 6:08 pm
Forum: Talking LiveCode
Topic: Find out where a command is triggered from
Replies: 9
Views: 7059

Re: Find out where a command is triggered from

Thanks for the hint Klaus.

I solved it with the following code.

Code: Select all

   put the mainstack of this stack into tMainStack
   put "123" into fld "xyx" of grp "ABC" of stack tMainStack // BotMessages
This seems to work.
Thanks for taking the time :D
by mrcoollion
Sun Mar 12, 2023 2:59 pm
Forum: Talking LiveCode
Topic: Find out where a command is triggered from
Replies: 9
Views: 7059

Find out where a command is triggered from

Hello LC friends, I might have a bit of a challenge on my hands I hope someone can help me with. I have moved many commands to SubStacks to have less code in cards that became slow during typing code. In those stacks, there are Put into fld "xyz" of grp "ABC" statements. Group; ABC is a shared group...
by mrcoollion
Wed Mar 08, 2023 10:55 pm
Forum: Talking LiveCode
Topic: Using Replace to replace data in a file does not work (Solved)
Replies: 4
Views: 4410

Re: Using Replace to replace data in a file does not work

Thank you all for helping me.

It now works.
What a difference a small code change and some LC forum friends can make :D .

Regards,

Paul
by mrcoollion
Wed Mar 08, 2023 7:51 pm
Forum: Talking LiveCode
Topic: Using Replace to replace data in a file does not work (Solved)
Replies: 4
Views: 4410

Using Replace to replace data in a file does not work (Solved)

Hello LC friends, I thought I could replace data in a file directly with the replace command. But nothing happens. I also get no error information. Any ideas? Below is the code snippet I made. Variable tFileURL holds the Path and filename e.g. C:/foldername/filename.html variable tGraphLabel holds t...
by mrcoollion
Sun Mar 05, 2023 12:24 pm
Forum: Android Deployment
Topic: Refresh A Browser Widget.
Replies: 4
Views: 5604

Re: Refresh A Browser Widget.

Just a small addition to this topic beause i am working on this 'issue'. If you just want to refresh the browser widget using the url already set you could use the following. On Mouseup RefreshBrowser "Name" end Mouseup command RefreshBrowser BrowserWidgetName put the url of widget BrowserWidgetName...
by mrcoollion
Wed Feb 08, 2023 2:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Get application executable name and path of the runtime version
Replies: 6
Views: 3552

Re: Get application executable name and path of the runtime version

Instead om me i used

Code: Select all

 of this stack
. In effect we then have the same command :-)

Go to advanced search