Hi,
As I have no room on the screen for a menu bar or additional button I want the middle Hardware Key to be used to ask for help information.
As far as I can test, the form needs to have the focus in order to activate the Sub Form1_KeyPress (SpecialKey). This works with me only when the Form is originally loaded. Setting somewhere Form1.Focus does not set the focus on the Form.
The above acts like that in executing the exe; working in debugging mode on the device, the effects are different.
A strange effect I found during testing, is that pressing the middle Hardware Key, without having a Sub Form1_KeyPress (SpecialKey), causes the label having the focus on the moment of pressing to loose its text or may be a space is inserted in front of the text. The labels are that small that they can only show one digit.
The test file attached illustrates the unexpected effects. Interested forum members should run that program, both as exe on the device as in debugging mode on the device.
My device is a P350 of Mitac.
Who can give some help?
Harry
As I have no room on the screen for a menu bar or additional button I want the middle Hardware Key to be used to ask for help information.
As far as I can test, the form needs to have the focus in order to activate the Sub Form1_KeyPress (SpecialKey). This works with me only when the Form is originally loaded. Setting somewhere Form1.Focus does not set the focus on the Form.
The above acts like that in executing the exe; working in debugging mode on the device, the effects are different.
A strange effect I found during testing, is that pressing the middle Hardware Key, without having a Sub Form1_KeyPress (SpecialKey), causes the label having the focus on the moment of pressing to loose its text or may be a space is inserted in front of the text. The labels are that small that they can only show one digit.
The test file attached illustrates the unexpected effects. Interested forum members should run that program, both as exe on the device as in debugging mode on the device.
My device is a P350 of Mitac.
Who can give some help?
Harry