Can't get the cursor to appear using InkeyStr, not sure about the syntax. I find the documentation somewhat confusing.
Here's what I got:
name$ = InKeyStr(#ALPHABETICAL, Cursor=True)
Shouldn't that work?
InkeyStr Syntax
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: InkeyStr Syntax
There are 3 optional parameters and they appear to be positional. Try as follows:
Code: Select all
name$=InKeyStr(#ALPHABETICAL,,,True)
I'm on registered MorphOS using FlowStudio.
Re: InkeyStr Syntax
Better try
ocean77, this "Cursor=True" syntax is typically used in tables as argument.
Ralf
Code: Select all
name$=InKeyStr(#ALPHABETICAL,Nil,Nil,True)
ocean77, this "Cursor=True" syntax is typically used in tables as argument.
Ralf
Re: InkeyStr Syntax
I'm afraid none of those options appear to work for me.
Throws an 'unexpected symbol' error.
But passes compilation, but there is no result.
Code: Select all
name$=InKeyStr(#ALPHABETICAL,,,True)
But
Code: Select all
name$=InKeyStr(#ALPHABETICAL,Nil,Nil,True)
Re: InkeyStr Syntax
My apologies. The cursor does indeed appear using:
My color scheme made the thin line hard to see. Somehow I thought it would be blinking as well.
Sorry for the confusion.
Is there any way to modify its appearance?
Code: Select all
name$=InKeyStr(#ALPHABETICAL,Nil,Nil,True)
Sorry for the confusion.
Is there any way to modify its appearance?
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact: