question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DLG_CTL "edit" on_change?

See original GitHub issue

on_click works and is documented. But is there an way to get on_change working with an “edit” element?

n = dlg_proc(self.h_dlg, DLG_CTL_ADD, 'edit')
dlg_proc(self.h_dlg, DLG_CTL_PROP_SET, index=n, prop={
'on_click': self.check_filter,
'on_change': self.check_filter
})

I got it with an on_key_up workaround. But it would be way easier with on_change.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Alexey-Tcommented, Nov 16, 2017

I will try to make example.

0reactions
TomBraider42commented, Nov 16, 2017

Problem solved, but CT 1.24.1 crashes, see new issue https://github.com/Alexey-T/CudaText/issues/1123

Read more comments on GitHub >

github_iconTop Results From Across the Web

OnChange event using React JS for drop down - Stack Overflow
The change event is triggered on the <select> element, not the <option> element. However, that's not the only problem.
Read more >
Dialog and Control Design - Flounder
The first one has an OnChange handler that notifies the other of the change. It does this as follows: void CMyFirstView::OnChangeInput() { updateControls(); ......
Read more >
INTRO: Using onChange to Trigger Specific Events - YouTube
... to the concept of using onChange to trigger specific events as opposed to onEdit.The challenge: onEdit() doesn't fire when the change...
Read more >
JavaScript OnChange Event Change BG Color - YouTube
http://www.bharaththippireddy.com/2020/05/new-course-devops-tools-and-aws-for.html.
Read more >
On Change Trigger - Apps Script | Script Service ~ Episode 3.4
Hey Coders! The onEdit trigger is great for certain use cases, but what if you need a function to fire whenever ANY change...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found