<div dir="ltr">In the online help files, I used the SHOW codes to "draw" pictures of popups, listboxes and menus in the examples that I created. Here is the entry for LISTBOX (in dcabe.hlp)<br><div><br>-----------<br>@@@ LISTBOX()<br>v4.1 \r n = LISTBOX(array[,beg[,end[,r[,c[,h[,w[,init]]]]]]]) \r - Display<br> the elements in an array and allow the user to select one.<br> If the user presses \KY, the result will be "0",<br> otherwise the position of the element chosen.<br><br> Colors used: POPUPNORMAL and POPUPINVERSE.<br><br>Enhanced: v5.0 - added 8th parameter to specify initial highlight position,<br> intervening optional parameters can be left off entirely.<br><br>Example:<br> then: dim nums(5)(8,*); nums["1"] = "One"; nums["2"] = "Two"<br> then: nums["3"] = "Three"; nums["4"] = "Four"; nums["5"] = "Five"<br> then: x = LISTBOX(nums,"3","5") ' Only display elements 3, 4 & 5.<br><br> If the user chooses the first element in the listbox, "1"<br> will be returned even though it is the 3rd element of<br> the array.<br><br>(continued)<br>@@@<br>( \r LISTBOX \r continued)<br>Example:<br> then: dim gender(3)(7,*); gender["1"]="Male"<br> then: gender["2"] = "Female"; gender["3"]="Unknown"<br> then: x = LISTBOX(gender,"","","","","","","3")<br> then: ' x = LISTBOX(gender,,,,,,,"3") produces the same result.<br> if: x eq "0" ' User pressed \KY.<br> then: end<br> then: sex = gender[x] ' Put choice in "sex" field.<br><br> With POPUPNORMAL<br> set to 0x2f and \A2f\G7\G0\G0\G0\G0\G0\G0\G0\G0\G0\G0\G0\G9\A-<br> POPUPINVERSE set \A2f\G. Male \G.\B0 \B1\A-<br> to 0x4f, the above \A2f\G. Female \G.\B0 \B1\A-<br> code will generate \A2f\G.\A77 \A4f Unknown \A2f \G.\B0 \B1\A-<-cursor, highlight bar<br> this listbox \A2f\G1\G0\G0\G0\G0\G0\G0\G0\G0\G0\G0\G0\G3\B0 \B1\A-<br> centered on the screen: \B0 \B1\B-<- dropshadow<br><br>----------<br><br></div><div>As you can see, I can mix and match background, foreground and graphics characters in the SHOW statement to<br></div><div>get the desired result. BTW, "\A-" says to change the attributes back to what they were originally. Anything with "\G" <br></div><div>followed by a number or character is a graphics character.<br><br></div><div>Does this help? Do you have a specific problem that you need solved?<br><br></div><div>Laura Brody<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 22, 2017 at 1:21 PM, Mike via Filepro-list <span dir="ltr"><<a href="mailto:filepro-list@lists.celestial.com" target="_blank">filepro-list@lists.celestial.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can someone please help me out with the correct syntax to get the high intensity to work in a show command?<br>
<br>
This is what I am trying but regardless of using the \i or not using \i it shows the exact same color.<br>
<br>
show ("21","16") "\b0\i\f5Select Department"<br>
<br>
and this is all the documentation says without even one example to show you where in the show command it's supposed to go, that took me a while...<br>
<br>
"Show Codes (Color only):<br>
\I Toggles high intensity<br>
\Bn Sets background color<br>
\Fn Sets foreground color<br>
\Ann Sets attribute (background+foreground)<br>
\C Characters only"<br>
<br>
Windows 2008 Server, Filepro 5.0.09 DN9<br>
<br>
Any help is greatly appreciated,<br>
Mike<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com" target="_blank">Filepro-list@lists.celestial.c<wbr>om</a><br>
Subscribe/Unsubscribe/Subscrip<wbr>tion Changes<br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" rel="noreferrer" target="_blank">http://mailman.celestial.com/m<wbr>ailman/listinfo/filepro-list</a><br>
</blockquote></div><br></div>