Hi

To implement the horizontal scroll bar following are the steps.
1. Create 2 buttons for left scroll or right scroll which will do the work
of the scrolling . Or you can implement the scrollbar.
2. Create the column from the resources for the table. (say 2)
3. Decide how many column you have to show (say 10)
4. Handle the ctrlevent of the both button.
5. For the right button event you have to mark the columns invalid and draw
the table with the new value.Of cource you have to check for the boundries
:))
6. Same logic will applies for the left button.

The best way to show the grid is create the 2d array of the data. and show
it according to above logic I have implement this. My source code is not
understandable right now, but I can provide you/ anybody if you want. But
the above logic is simple.


With Regards,
Amit Kalekar
[EMAIL PROTECTED]
Kalpadrum Infotech Pvt.Ltd.
www.kalpadrum.com

----- Original Message -----
From: Rohit_Shankar
To: '[EMAIL PROTECTED]'
Sent: Thursday, April 11, 2002 4:54 PM
Subject: RE: hide Column in a Table [Similar to Grid Control]


hi Amit

   Actually i m implementing the horizontal bar only . Can you help me or
send me some reusable code if you can share it.

Thanks
Rohit



-----Original Message-----
From: Amit Kalekar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 1:05 PM
To: Palm Developer Forum
Subject: RE: hide Column in a Table [Similar to Grid Control]


Hi

To show or Hide a column you can always use TblMarkRowInvalid() to mark it
inavalid and then set the usable attribute.
And In this way the Horizontal Scroll bar or somthing like Grid Control is
possible. I have done that if anybody wants to do the same please free to
ask me.



With Regards,
Amit Kalekar
[EMAIL PROTECTED]
Kalpadrum Infotech Pvt.Ltd.
www.kalpadrum.com


Subject: RE: hide Column in a Table
From: Rohit_Shankar <[EMAIL PROTECTED]>
Date: Wed, 10 Apr 2002 17:32:14 +0530
X-Message-Number: 13

Hi ,

If I need to repeat this whole process again then whats the use of
TableRedraw function ....
I wonder if every thing needs to be done again ...

Pls Clarify
Rohit



--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to