Re: Wordwrap



JoeGrownup@xxxxxxxxxxxxxx's wild thoughts were released on
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.




Jan Hyde (VB MVP)

--
Rich foods are like destiny. They, too, shape our ends. (Art. Moger)

.



Relevant Pages

  • Re: Wordwrap
    ... Have to use the hidden textbox to adjust the row height on ... the flexgrid. ... of the MSHFlexgrid and the ADO, and I see no real place for the code. ...
    (comp.lang.basic.visual.misc)
  • Re: Wordwrap
    ... Have to use the hidden textbox to adjust the row height on ... the flexgrid. ...
    (comp.lang.basic.visual.misc)
  • Re: Wordwrap
    ... If the text in a cell is too long to display in the cell, and the WordWrap ... Have to use the hidden textbox to adjust the row height on ... the flexgrid. ...
    (comp.lang.basic.visual.misc)
  • Re: Wordwrap
    ... If the text in a cell is too long to display in the cell, and the WordWrap ... Have to use the hidden textbox to adjust the row height on ... the flexgrid. ...
    (comp.lang.basic.visual.misc)

Loading