|
Persons new to programming in MS-Windows GUI, including those migrating from PowerBASIC for DOS or PowerBASIC Console for Windows, will probably find the GUI interface to be a major challenge. And, because the MS documentation for the Windows Application Programming Interface covers numerous thousands of pages, most compiler and tool HELP files do not attempt full documentation even of those features that they use. Fortunately, PB users have support fora available to programmers world wide. At http://www.powerbasic.com/support/forums/, I requested help and was directed to a very interesting demo program posted on a forum in Germany, namely PowerBASIC FORUM - Kirschbaum Software GmbH. The program source code and description are in German. The author, Josef Kirschbaum, noted that the WinAPI32 commands are in English, to define a worldwide standard, but his text strings and other variables were not so constrained. I compiled the code, written for PB/Win 7, in PB/Win 8, and found it ran as received. Not all code downloads are so cooperative. I then set out to translate the two files, despite my limited college German of far to many decades past. I got help from http://translate.google.com/translate_t, and verified that computer translations still tend to do very weird things. I then managed to complete an English version of the code that compiled, modified some of the text strings, and offer the result here. Code, EditField.BAS.txt, binary, (right click and 'save link/target as') EditField.exe, and EditFielddescription.txt. This helped me get started building my own GUI covers to programs. Feel free to send me feedback through my site's contact. Donald Miller, author of Power BASIC for Business & Technology. [views = ] |