Events in Apps PPL
|
11-09-2024, 01:14 PM
Post: #1
|
|||
|
|||
Events in Apps PPL
Hi,
I would like to add some functionality to "Plot" App. Prime allows me to expand apps. Yes! So I want to add some new cursor functionality (for example zoom only in Y range by pressing "*", or select actual point - by pressing "enter" and add its coordinates to a list). So I need to intercept key strokes in App Plot. Question: Is there some events to utilise (like for example "OnKeyDown"), or some Listeners (like in AndroidStudio)? Another question: - Moving cursor in Plot (left, right key) has very nice feature: long click, and cursor moves itself until key is released. - I want to make something similar in PPL: In "Main Loop" i use ReadKey. But ReadKey waiting for button click. If button is still pressed, Readkey stops flow. Is there any workaround for this? Regards |
|||
11-09-2024, 01:40 PM
Post: #2
|
|||
|
|||
RE: Events in Apps PPL
(11-09-2024 01:14 PM)marcin1812 Wrote: [..] But ReadKey waiting for button click. If button is still pressed, Readkey stops flow.ISKEYDOWN(key) -- Ray |
|||
11-09-2024, 01:50 PM
Post: #3
|
|||
|
|||
RE: Events in Apps PPL
Quote:ISKEYDOWN(key)Thanks |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)