Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 07-22-2004, 03:16 PM   #1 (permalink)
jeprox
Registered User
 
Join Date: Jul 2004
Posts: 1
jeprox is on a distinguished road
Borland StringGrid

I'm trying to achieve this using Borland's StringGrid. I'm using Borland 5.

For example, I have 2 columns, cell[0][1]...cell[0][n] is sequencially written with an int commencing at 1 through to n, but only each time a cell[1][n] is input a number, and the 'Enter' key is pressed *or* the mouse is clicked to another cell (or even another component). Remark: cell[0][n] is only assigned a (sequencial) number if and only if cell[1][n] has data.

Also, say rows 1 to 5 have data, then when the user tries to click on a cell on row 7 or below it, the focus will always be set to row 6 (because this is the next empty cell).

Don't know how to do this. Perhaps, someone here could help me.

thanks.
jeprox is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 11:44 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting