Re: Wordwrap
- From: Jan Hyde <StellaDrinker@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 25 Apr 2006 08:40:04 +0100
JoeGrownup@xxxxxxxxxxxxxx's wild thoughts were released on
Mon, 24 Apr 2006 09:30:26 -0500 bearing the following fruit:
On Mon, 24 Apr 2006 14:56:52 +0100, Jan Hyde
<StellaDrinker@xxxxxxxxxxxxxxxxxxx> wrote:
JoeGrownup@xxxxxxxxxxxxxx's wild thoughts were released onThe ADO is bound to the Jet DB and I have the flexgrid bound to the
Mon, 24 Apr 2006 08:27:31 -0500 bearing the following fruit:
I have a VB6 app which uses M$ Jet, ADO, and MSHFlexgrid. The DB has
two fields with about 60 string characters. I want to wordwrap the
flexgrid. Have to use the hidden textbox to adjust the row height on
the flexgrid. That is not a big deal. The problem is where do I put
the code for the height adjustment? I just looked through the Events
of the MSHFlexgrid and the ADO, and I see no real place for the code.
I want the flexgrid row height to be adjusted automatically when the
data comes off the database.
Any ideas?
The same place your using 'the hidden textbox'?
I'm guessing your binding the control to some datasource? If
so then that's part of the problem with databinding, it does
it 'all' for you, taking the control away from you.
ADO. I see no way to adjust the row height of the flexgrid
automatically as the data is being loaded from the DB. Got any ideas?
Like I said this is the problem with using databinding. I
guess you have no other option but to loop through the grid
once it's populated, in which case you might as well have
used a recordset and populated the grid yourself.
J
Jan Hyde (VB MVP)
--
Rich foods are like destiny. They, too, shape our ends. (Art. Moger)
.
- References:
- Re: Wordwrap
- From: Jan Hyde
- Re: Wordwrap
- Prev by Date: Re: output of immediate window in report
- Next by Date: Re: VB6 clock function coding
- Previous by thread: Re: Wordwrap
- Next by thread: Re: Wordwrap
- Index(es):
Relevant Pages
|
Loading