At 02:17 PM 4/13/2009, Jan Johansen wrote:
I can't believe that I have to ask a question about this control
because I use it so often. However I have a VariableListView that
one of the columns is a NOTE. Because of this (I think) when you
hover over that column the HINT (its not really the hint but a
balloon) is filled with the NOTE. But because the NOTE can be
quite large the application occasionally hangs (or it hangs as a
combination of NOTE and running THEMES).
Regardless I can't figure out how to disable this feature. Any
clues appreciated.
Jan,
Technically, both DB and Variable ListView controls in R:BASE 7.6,
Turbo V-8, and R:BASE eXtreme 9.0 (32/64), include an extended
feature of "Info Tips". This internal notification is automatically
sent when the list-view control is requesting additional text
information to be displayed as hint when the entire displayed text
is larger than the actual column width defined for the ListView
under ListView Properties.
Having explained that, you have at least the following two options:
01. Use the (SGET(colname,nnn,1)) option as an expression, which
you have already implemented.
OR
02. Use the "SuppressInfoTip" property to display or suppress the
Info Tips for DB and Variable Lookup ListView controls.
This approach will let you display/suppress info tips on demand,
without hard coding the expression to limit the display of
extended text as Info Tips.
Here's how:
A. Start R:BASE 7.6 (Build:7.6.7.30420), V8 (Build:8.0.21.30420),
or R:BASE eXtreme 9.0 (Build: 9.0.1.10420)
B. While in form designer, place two Enhanced Speed Buttons.
First Button: [Suppress Extended Info Tips]
Custom EEP:
PROPERTY <ListViewComponentID> SuppressInfoTip 'TRUE'
RETURN
Second Button: [Enable Extended Info Tips]
Custom EEP:
PROPERTY <ListViewComponentID> SuppressInfoTip 'FALSE'
RETURN
That's all there is to it.
That way you can have your cake and eat it too!
Very Best R:egards,
Razzak.