VL Grid
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: VL Grid
There's no wrapping as such, but you can set the CaptionType to use the field column headings which will give you up to 3 lines.
Regards
Regards
-
HamadSheikh
- Posts: 27
- Joined: Fri Mar 18, 2016 3:49 am
- Location: USA
- Contact:
Re: VL Grid
This seems to work for a VL Grid.
#STD_BIN is a binary field.
Evtroutine Handling(#com_owner.Initialize)
Set Com(#com_owner) Caption(*component_desc)
Use Builtin(HEXTOBIN) With_Args('0D') To_Get(#STD_BIN)
#GridColumn1.caption := 'This is' + #std_bin.AsString + 'a Test'
Endroutine
#STD_BIN is a binary field.
Evtroutine Handling(#com_owner.Initialize)
Set Com(#com_owner) Caption(*component_desc)
Use Builtin(HEXTOBIN) With_Args('0D') To_Get(#STD_BIN)
#GridColumn1.caption := 'This is' + #std_bin.AsString + 'a Test'
Endroutine
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: VL Grid
Ha...Thanks Hamad
I'd forgotten about embedding carriage returns. We added it for hints originally to make the hint of a Compile job more interesting when there are multiple objects being compiled.
A slightly more elegant version is to use (13).AsChar
In a similar vein, xDemoTraceHandlerDesktop use (09).AsChar to embed a Tab character when constructing a text file.
Regards
I'd forgotten about embedding carriage returns. We added it for hints originally to make the hint of a Compile job more interesting when there are multiple objects being compiled.
A slightly more elegant version is to use (13).AsChar
Code: Select all
#Column.Caption := "Line1" + (13).AsChar + "Line2" + (13).AsChar + "Line3"Regards