473,387 Members | 1,365 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Kind of table

I have to display kind-of table in Forms
The NORMAL way is to use DataGrid, BUT WHY? I need some kind of lookup to
show to user WITHOUT data in backend. Something like:
a | b | c | d ....q | w | i | r
1 | 2 | 3 | 4... 12 | 23 | 34 | 333
As you can see I have to ajust | (pipe) positions in order to align upper
and lower rows. So I can do it as custom control within 10 minuts, but Is
something ready for such functionality?

TNX
--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "
Nov 16 '05 #1
3 947
Hi,
Have you tried using ListBox with headers?

--
Regards,
Peter Jausovec
(http://blog.jausovec.net)
"Tamir Khason" <ta**********@tcon-NOSPAM.co.il> wrote in message
news:eB**************@tk2msftngp13.phx.gbl...
I have to display kind-of table in Forms
The NORMAL way is to use DataGrid, BUT WHY? I need some kind of lookup to
show to user WITHOUT data in backend. Something like:
a | b | c | d ....q | w | i | r
1 | 2 | 3 | 4... 12 | 23 | 34 | 333
As you can see I have to ajust | (pipe) positions in order to align upper
and lower rows. So I can do it as custom control within 10 minuts, but Is
something ready for such functionality?

TNX
--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "

Nov 16 '05 #2
Hi Tamir,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to put some data to a control
other than DataGrid and make each column aligned. If there is any
misunderstanding, please feel free to let me know.

I agree with Peter's suggestion that we can use ListBox instead of
DataGrid. Turn MultiColumn property to true will do. I hope this helps.

If anything is unclear, please feel free to reply to the post.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #3
Hi Tamir,

I'm sorry that I made a mistake in my last post. The control has to be
ListView. ListView has headers while ListBox doesn't. Also, we have to set
the View property to Details. HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: gtux | last post by:
Hi everybody: I'm new in Javascript, I found some code and there is this: var fruit = { 'apple' : { 'weight' : 10, 'cost' : 9}, 'peach' : { 'weight' : 19, 'cost' : 10} }
11
by: Steven T. Hatton | last post by:
There are probably a zillion ways to do this, but I'm wondering of there's a C++ convention. I want to have a fixed mapping between keys and values. It's basically the same thing as a std::map<>,...
1
by: Henro V | last post by:
I am byuilding this database which (among others things) will have to produce a kind of calendar. Users give in the appointments they have and how long they take. F.e: John Doe is attending a...
3
by: Xavier | last post by:
hello, i have a kind of workflow like: enter data in a form aprove data by person 1 aprove data by person 2 data are saved in a sqldatabase
6
by: Fritz Franz | last post by:
Hello! I have a table A with fields id,startdate and other fields. id and startdate are in the primary key. In the table B I want to introduce a Foreign key to field id of table A. Is this...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.