console-inkey

Just starting out? Need help? Post your questions and find answers here.
martinemyers
New User
New User
Posts: 4
Joined: Sat Mar 04, 2006 1:35 am

console-inkey

Post by martinemyers »

how do you use inkey in the console to get key combinations like ctrl-F1,alt-f10,Alt-1, etc. i can get F1 to work but not a two or more key combination

boldOn$=Chr(27)+"[1m"
underlineOn$=Chr(27)+"[4m"
boldOff$=Chr(27)+"[21m"
underlineOff$=Chr(27)+"[24m"
also i've used something like the above to put bold and underline in the console with print (print boldon$+"title"+boldoff$). but it doesn't seem to work here. any ideas?