... case? Ive lived with this just as a nuisance but it is problematic now with a client and larger print jobs. I need a solution. Thanks in advance, Greg
Greg, Here is another option--use xbrowse instead of wbrowse. It looks like it is syntax compatible so there would only be one change to your source code. REDEFINE LISTBOX oLbx FIELDS bscust->custno, bscust->company, ...
Greg, Hmm, well I suggest creating the RC with ResEdit then edit it with a text editor (just one listbox-to-TWBrowse conversion), then using Borland's Workshop, load it and save it, then compile and test. If there are no problems ...
Greg, I guess it will just boil down to some extra work to manage the .rc file when I make screen changes....sigh. There will be no extra work when you make changes. When the RC file is loaded back into the resource editor, ...
Enrico, Thanks, I didn't know the zero wasn't needed. Greg, You can also leave off the WS_BORDER to get the more current flat look as I did in my previous example. So now you would have: CONTROL "", IDC_LISTBOX1, "TWBrowse", WS_CHILD ...
Greg, A simple solution is to just load your RC file into a TEXT editor and change the LISTBOX definitions to custom TWBrowse controls as Enrico showed. In this example I have just commented out the LISTBOX line and added ...
Greg, Here is a simple example of how you use TXbrowse instead of Listbox. Create a custom control called "TXBrowse" and edit the style to something like: 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL There ...
Greg, Im sure I will have to be more imaginative in how to deal with editing the resources. As I am continually updating the application using the RESEDIT GUI to build or change dialogs, when RESEDIT creates the .rc file, ...