>I have not been able to find a way to make a single Listbox Item bold. Does anyone know if this is possible. I don't see a way at the moment.
>
>TIA
Hello.
You can use the native listbox, but not so easy. Let's try:
DEFINE POPUP FillList SCROLL
FOR lnI = 1 TO lnNoValues
IF lnI = the_condition_for_bold
DEFINE BAR lnI OF FillList PROMPT your_value ;
FONT 'Tahoma' STYLE 'B'
ELSE
DEFINE BAR lnI OF FillList PROMPT your_value ;
FONT 'Tahoma'
ENDIF
ENDFOR
ThisForm.List.RowSource = 'FillList'
ThisForm.List.RowSourceType = 9
ThisForm.List.Requery
I'm pretty sure that the primary key in DE is made bold using the same technique.
You can specify not the bold style, but the font dimension, using clause
FONT 'Tahoma',8
or the colour, using the clause
COLOR ,RGB(0,0,0,255,255,255),,,,RGB(0,0,0,230,230,230)
I've used this approach to highlight the differences between two lists.
Hope this helps.
Grigore Dolghin
Class Software.