I'm in the middle stage of conversion of huge database project written in VB to PBWIN.
Now, stuck in conversion of GUI logic with approx 50 textbox controls.
They're all have following methods:
In VB code all textbox controls groupped into control array with their indexes, so few subroutines and events doing all stuff above.
I want to know how to subclass 50 textboxes without declaring of 50 subroutines to manage all listed methods.
Thanks,
Aslan.
Now, stuck in conversion of GUI logic with approx 50 textbox controls.
They're all have following methods:
- Active textbox have different border and background color
- ENTER key used to accept/validate input
- Up and Down arrow keys used to switch to another control
- F1 and F5 keys used to activate drop down lists/treeviews/calendar/forms etc.
- DblClick used to show additional information
- Tooltips for quick info
In VB code all textbox controls groupped into control array with their indexes, so few subroutines and events doing all stuff above.
I want to know how to subclass 50 textboxes without declaring of 50 subroutines to manage all listed methods.
Thanks,
Aslan.
Comment