Ricky D Well-Known Member Licensed User Longtime User Oct 22, 2008 #1 On my ppc device running wm6 I have the keyboard set to use large keys. What I'd like to do is either : know how to "press" the 123 button on the top left of the sip to make the numbers come up and obviously to press it again to bring back the alpahabet. This needs to be done in code. or Create my own. I thought of using a panel. Are there other possible solutions? I've just started a bit of C# programming but alas custom sips have to be written in c++ according to various websites and that is way beyond me. any help is appreciated. regards, Ricky
On my ppc device running wm6 I have the keyboard set to use large keys. What I'd like to do is either : know how to "press" the 123 button on the top left of the sip to make the numbers come up and obviously to press it again to bring back the alpahabet. This needs to be done in code. or Create my own. I thought of using a panel. Are there other possible solutions? I've just started a bit of C# programming but alas custom sips have to be written in c++ according to various websites and that is way beyond me. any help is appreciated. regards, Ricky
Cableguy Expert Licensed User Longtime User Oct 22, 2008 #2 Creating your own, using a panel, would be the best solution, and you could bring it to front on a control focus event....
Creating your own, using a panel, would be the best solution, and you could bring it to front on a control focus event....
Ricky D Well-Known Member Licensed User Longtime User Oct 22, 2008 #3 sounds good.... ok thanks, but how do I poke the button presses into the control that has focus? Also would this work with multiple modules? My code is in 8 or 9 different modules. regards, Ricky
sounds good.... ok thanks, but how do I poke the button presses into the control that has focus? Also would this work with multiple modules? My code is in 8 or 9 different modules. regards, Ricky
M Mr_Gee Active Member Licensed User Longtime User Oct 22, 2008 #4 Ricky D said: ok thanks, but how do I poke the button presses into the control that has focus? Click to expand... use the : SUBNAME_Click Ricky D said: Also would this work with multiple modules? My code is in 8 or 9 different modules. regards, Ricky Click to expand... Yup it does... we'll I never tried but it should If it doesn't you could make a sub on Main Code: Sub ButtonPress(which) if which = "a" then BUTTON_A_Click etc... End SUb this can then be called with main.ButtonPress("a") form any module
Ricky D said: ok thanks, but how do I poke the button presses into the control that has focus? Click to expand... use the : SUBNAME_Click Ricky D said: Also would this work with multiple modules? My code is in 8 or 9 different modules. regards, Ricky Click to expand... Yup it does... we'll I never tried but it should If it doesn't you could make a sub on Main Code: Sub ButtonPress(which) if which = "a" then BUTTON_A_Click etc... End SUb this can then be called with main.ButtonPress("a") form any module
Ricky D Well-Known Member Licensed User Longtime User Oct 22, 2008 #5 how to make the "sip" visible on different forms? a panel has to have a parent. Should I set the parent each time form_show runs for each form? i guess if so i'd need to to keep track where the panel is at any given time. regards, Ricky
how to make the "sip" visible on different forms? a panel has to have a parent. Should I set the parent each time form_show runs for each form? i guess if so i'd need to to keep track where the panel is at any given time. regards, Ricky
Ricky D Well-Known Member Licensed User Longtime User Oct 22, 2008 #7 I'm doing that but how do I poke a keypress from one of it's buttons into the textbox or whatever that has focus? The textbox or whatever will lose focus to the button press. regards, Ricky
I'm doing that but how do I poke a keypress from one of it's buttons into the textbox or whatever that has focus? The textbox or whatever will lose focus to the button press. regards, Ricky
Cableguy Expert Licensed User Longtime User Oct 22, 2008 #8 Assign a common click to each button... Return a string with every click and appen it to the control text... I'll post a module where this is used...later tonigth... But just to show how easy it is, here's a b6.30 example... Attachments y.sbp y.sbp 1.8 KB · Views: 385 Last edited: Oct 22, 2008
Assign a common click to each button... Return a string with every click and appen it to the control text... I'll post a module where this is used...later tonigth... But just to show how easy it is, here's a b6.30 example...
Ricky D Well-Known Member Licensed User Longtime User Oct 23, 2008 #9 Thanks all but this won't work Thanks to everyone. A major issue I have with using a panel is that the "keyboard" buttons steal focus from the item being typed into. This triggers the LostFocus event on the control and I don't want that to fire unless I tap another control that's not the sip. I'm going to investigate doing this in VB or C#. regards, Ricky
Thanks all but this won't work Thanks to everyone. A major issue I have with using a panel is that the "keyboard" buttons steal focus from the item being typed into. This triggers the LostFocus event on the control and I don't want that to fire unless I tap another control that's not the sip. I'm going to investigate doing this in VB or C#. regards, Ricky