I have a few forms that I'm using a certain technique on. I have sets of items that I want to display, more than can fit on the screen at one time. I looked into tables and scrollbars, but that just looked like a LOT of code for a simple function, so I decided to try something different.
I know that the total # of the items that I want to display will never be more than 6, so I've set up a form with 2 buttons, basically an Up and Down buttons. So the first time you hit the form you see items 1-2 and only the Down button is visible. If you hit the down button, you see items 3-4 and both Up and Down buttons are available, etc. etc. There's more to it, but that's the basics. Each item can have 1 to 3 sub-items that are simple labels, so the display looks something like this: Item 1 subItem1 subItem2 Item 2 subItem1 If there are < 3 subItems, the subsequent subItem labels must be hidden, and this is where the problem is. I use a method, setLabelText(), that simply does FrmHideObject, FrmCopyLabel, and FrmShowObject. I use this method to set all the labels in this form. When I want to 'hide' a label, I simply pass an empty string. The error is occurring on the 2nd page, the 2nd item, and the 2nd subItem, when I'm trying to blank it out. Any ideas? __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
