In my previous post I forgot that I had another patch in my code that allows 
the arrow keys to be used with state keys(ALT, SHIFT, CTRL, etc) to perform 
actions other than focus navigation.  In Albrecht's examples he used the state 
key with other keys, A/B/C/etc, which is how I originally tested/implemented 
this patch.  I have not submitted the arrow key patch as of yet, due to the 
massive work being done on UTF8 and documentation and I felt the 
FL_WHEN_CHANGED STR should be resolved first, one patch at a time for one 
change.

Regarding FL_WHEN_CHANGED.  I was attempting to mimic the way the mouse works, 
with this button attribute, using short cuts.  I thought that the intention of 
FL_WHEN_CHANGED was to allow a user to push and hold a button to start an 
action which then stops when they released the button.  This is different from 
a normal or toggle button which would require the user to push/release a button 
to initiate an action then push/release the button to stop the action.  It does 
not sound like a big difference, but a lot of systems out there operate in this 
method.  Just my two cents worth.

Thanks,
John
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to