On Friday 10 January 2014 05:54:30 wahono sri wrote: > > Interesting. That's about twice the code size compared to a version I did > > a couple years ago (and even sent to the old list) and am using in a > > couple projects for some time now. > > One thing I can't understand about your implementation: why did you write > > a separate event procedure for each and any key? Couldn't a single one do > > all the work for all the keys, using the key's caption to do its task? > > At least that's how I did it, and I didn't find any drawbacks doing so. > > > > I fear about non latin keyboard. AFAIK one button in different shift > > state in non latin keyboard use for non similiar caption like in latin > keyboard (a->A, b->B, etc), is my opinion true? and second reason is keyty > and caption sometimes different each other in non latin keyboard.
I would use tbutton.tag property and tables. Should I change frmkeyboard.pas accordingly?. The edit widgets use the achars parameter of postkeyevent() procedure only so key_none for textentry probably would suffice. Martin ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

