Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hierarchical FlexGrid Column Height
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01155227
Message ID:
01155239
Views:
25
You cand specify the rowheight, row by row,
Local lngWidth, i, x
lngWidth  = 2200 && Twips
Select moncurseur
Count To x
With This
      .Cols = 2  && Nombre de colonnes incluant la première.
      .Rows = 0
      .AddItem(Chr(9)+"Nom du client")  
      .Rows = x+1  
      .FixedRows = 1
      .WordWrap = .T.
      .RowHeight(0) = .RowHeight(0)*2
      .RowHeight(1) = .RowHeight(1)
      .RowHeight(2) = .RowHeight(2)*4.5
      .RowHeight(3) = .RowHeight(3)*2
      .RowHeight(4) = .RowHeight(4)*.8
      .RowHeight(5) = .RowHeight(5)*3.5
      .ColWidth(0) = 0  
      .ColWidth(1) = lngWidth*1.5
      Select moncurseur
      i = 1
      Scan
            .TextMatrix(i, 1) = moncurseur.Name
            i = i + 1
            If i > x
                  Exit
            Endif
      ENDSCAN
Endwith
>Hi all, I have a hierarchical grid displaying records from a SQL Server database, one of the fields to be shown is a text field. My problem is the column does not display the entire content of the field, more specifically when there are several lines of text in the field. It only shows the first row. How can I adjust the height of the column so all the content of the field is displayed?
>
>Thanks in advance,
>
>Enmanuel
Previous
Reply
Map
View

Click here to load this message in the networking platform