I have two quetions. > If you can answer either > > Number 1. > I have a popuptrigger on my table, the trigger in the table shows an arrow > with the list next to it. it looks something like this. number 1 is visible, > but number 2 and 3 is only visible when the arrow is selected. > > >1 > 2 > 3 > > It would like it so that the arrow is not visible, just the number one, and > when number one is clicked on, 2 and 3 are visible. > This is the code for my popuptrigger in the table > > TblSetItemStyle( table, count, TABLE_COLUMN_LEVEL, popupTriggerTableItem ); > TblSetItemPtr(table, count, TABLE_COLUMN_LEVEL, list); Don't make it a popup trigger -- instead, do a custom draw cell where you draw your own border and the number inside, then on clicks on the cell, do a LstPopupList on the list you would have attached to the cell and use the return value to change what you draw. > Question 2. > I have a group of buttons that look something like this > > | One | |Two | > |Three| |Four| > | Five| |Six | > > When button one is clicked on it opens another form with the buttons > > | A | | B | > | C | | D | > | D | | E | > These are push buttons, when one of the push buttons are selected it writes > text to the table. > > How can i code it so that when button number one is clicked, instead of > openeing another form it just changes the group of buttons from the number > buttons to the alphabet buttons. And then once alphabet button clicked it > writes the text to the table. Put the A-E buttons on your main form, but make them hidden in Constructor. When One is pressed, hide all of the One-Six buttons and show the push buttons. Have the ctlSelectEvent for the pushbuttons cause those to be rehidden and the 1-6 buttons to be reshown. I'd put the group hide/show into separate functions to make the functionality easier to follow. -- THANKS FOR THAT BEN ______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
