I was planning to write something like a "code generator"
for a microprocessor based controller.
Imagine a bunch of numbered boxes in a window that represent
lines of "code". Then imagine a group of icons somewhere else
that can be dragged and dropped into these code line boxes.
These icons represent code "subroutines" like "delay", "relay
1=on", "jump to step x", etc. Very simple and of course very
limited, but allows a non-programmer to do simple tasks.
I searched for "drag and drop icons" and did not find
anything in the forums.
Any idea how to do the drag and drop part?
------------------
for a microprocessor based controller.
Imagine a bunch of numbered boxes in a window that represent
lines of "code". Then imagine a group of icons somewhere else
that can be dragged and dropped into these code line boxes.
These icons represent code "subroutines" like "delay", "relay
1=on", "jump to step x", etc. Very simple and of course very
limited, but allows a non-programmer to do simple tasks.
I searched for "drag and drop icons" and did not find
anything in the forums.
Any idea how to do the drag and drop part?
------------------
Comment