Hejsa du.
Dette fandt jeg i MSDN
You can put text, a picture, or both, in any cell of an MSFlexGrid. The Row
and Col properties specify the current cell in an MSFlexGrid. You can
specify the current cell in code, or the user can change it at run time
using the mouse or the arrow keys. The Text property references the contents
of the current cell.
If the text in a cell is too long to display in the cell, and the WordWrap
property is set to True, the text wraps to the next line within the same
cell. To display the wrapped text, you may need to increase the cell's
column width (ColWidth property) or row height (RowHeight property).
Use the Col and Row properties to determine the number of columns and rows
in an MSFlexGrid.
Note Before you can use an MSFlexGrid in your application, you must add
the MSFlxGrd.ocx file to your project. To automatically include the file in
your project, put it in the Autoload file. When distributing your
application, you should install the MSFlxGrd.ocx file in the user's
Microsoft Windows System directory. For more information about adding an
ActiveX control to a project, see "Standard ActiveX Controls" in the Visual
Basic Programmer's Guide."Ole John
/Thomas, EDB-Konsulent Aston group
Hansen" <nykobingf@bloddonor.dk> wrote in message
news:3a9f6661$0$5728$4d4eb98e@news.dk.uu.net...
> Hej alle i gruppen!
>
> Jeg er ret ny her, og ret ny m.h.t. VB, men jeg har et problem jeg håber
der
> er en hjælpsom sjæl der vil svare på.
> I en database bruger jeg MSHFlexGrid, nu er det jeg meget gerne vil vide,
> hvorledes jeg sætter kolonne bredde, det er ret iriterende, at kolonnen
med
> autonr. er lige så bred som kolonnen med navn, og derfor kan jeg ikke se
> hele navnet.
>
> M.v.h.
>
> Ole J. Hansen
>
>
|