That's the downside to it: I think it is there (IDE toolbox) but it doesn't work well from there.
I always end up having to do an AddObject myself in code and set all of its properties and such. --- In [email protected], "George Walters" <gwalt...@...> wrote: > > Thanks, I did not know that tis control exited. Thanks for the heads up on > the tech note. I'll read up on it. Sounds like what I might need to use in > the long run. > > Is this list view one of the icons on the IDE? I don't remember seeing it. > > George Walters > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of michiman56 > Sent: Friday, March 05, 2010 5:39 PM > To: [email protected] > Subject: [nsbasic-ce] Re: format help needed > > I'm sorry George, > > In my haste I thought you wanted to display columns in a Textbox. So I > posted a working sample I had but it clearly doesn't help you much. > > Slowing down and READING your original question I see you are trying to > display columns in a ListBox, an entirely different matter. > > > One alternative is to use a ListView control in "Report View." > > http://www.nsbasic.com/desktop/info/technotes/TN12.htm > > This gets you columns with optional column headers. > > > However it sounds as if you have the matter sorted out for now, despite some > problems. > > Testing the same thing myself though (a simple ListBox with Font set to > Courier New) it is working without having to set the Font in code. One > thing I have noticed is that the IDE can often be a little glitchy when > setting properties in the Properties Window. > > For example when I tried to set a ListBox's Font to "Courier New" I saw that > it actually got set to "Courier" (a font face that doesn't exist in Windows > Mobile). I had to try again and then I got it to set properly. The > FontName dropdown played "jumpy-jump" and did not pick the FontName I > clicked on the first time. This happens a lot. > > NSB/CE Version 8.1.2a here. > > Good luck, > > Bob > > --- In [email protected], "George Walters" <gwalters@> wrote: > > > > Thanks, for this code. It was quite informative as I'm still learning this > > stuff. I have found the real problem with stuff lining up in the list box. > > It dosen't matter what font you setup up in the IDE it is ignored. I set > the > > font to "Courier New" (which is fixed pitch) in the code and the stuff is > > now lining up on the PDA. I guess this is an IDE bug along with the others > I > > reported. > > > > > > > > George > > > > ------------------------------------ > > Yahoo! Groups Links > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
