nc_834v5010generator - project status - September
Realized I never put in functionality for creating an X12 834 file from scratch (aka create new file), so, doing it now.
Added 'new file' to start menu, created Ncurses834v5010view::displayFileNewGUI(ProgramMode & programMode, ViewMode & viewMode, CDKSCREEN * pCdkScreen), and adding code to create a new file.
This is where I may end up staying a while, as I've wanted to add functionality to use pre-existing saved 'chunks' to be able to populate a file, pre-populated segments and such, calling the idea a 'profile' for now, and this is where I may actually flesh it out.
I don't want the User to just type X12. I want them (me! myself!) to be able to load chunks, then apply some edits, get verification feedback, iterate, compare to previous files, and crank stuff out.
Binding CDK widgets to User keys: man bindCDKobject
2015-09-12
In order to allow the User to type text, to create content for an X12 834 text file, I need to discover a CDK widget, that is like an HTML textarea, so they can edit the file.
If CDK has no such widget, then I will be forced to come up with my own solution. Possible solution paths are that I create my own CDK widget, if I can, or punt to ncurses and see if I can make a solution in ncurses, or lastly, if I am stuck/frustrated, ask the (debian.livejournal.com+linux.livejournal.com+stackoverflow) folks for ideas.
Lastly, if no joy from any of the above, I'll have to abandon CDK, and go with a whole new GUI solution, and refactor my program to use it, as Round 2.
2015-09-19
cdk_mentry might be what works for typing in a new X12 834v5010 file. Will be experimenting using it, and making a c++ CDK_Mentry wrapper.
2015-09-22
cdk_mentry seems to be working for what I need. Using it. Also started to create the CDK_Mentry wrapper c++ class for it. Updated source code to
http://mrflash818.geophile.net/software/nc_834v5010generator/ 2015-09-29
Finished the CDK_Mentry wrapper. Updated source code. Next need to see if I can have CDK convert "Enter" key and turn them into newlines '\n' when doing text entry to CDK_Mentry (some kind of preprocess?), so I can use it like an HTML textfield. Of course,then I'll need an external button so the User can indicate 'done with editing/text entry.'
Binding CDK widgets to User keys: man bindCDKobject