| Author | Topic: InKey() problem |
---|
| Damir Hodak | InKey() problem
on Tue, 25 Jul 2006 12:46:31 +0200Hi everybody!
I'm having trouble with InKey function.
I migrated my source from clipper 5.2 and everything works fine until I
change from full screen to window mode or vice versa. After that
InKey()function wait until I press any key like InKey(0).
Can anybody help me?
Damir TEST1.PRG |
| AUGE_OHR | Re: InKey() problem
on Tue, 25 Jul 2006 19:22:38 +0200hi,
> change from full screen to window mode or vice versa. After that
> InKey()function wait until I press any key like InKey(0).
put a "small" value into INKEY(0.01) and you can use ALT-ENTER
to switch between full/window.
"general" in Xbase++ you shoud replace INKEY() with a "small" value
greetings by OHR
Jimmy |
| Damir Hodak | Re: InKey() problem
on Wed, 26 Jul 2006 14:44:40 +0200On Tue, 25 Jul 2006 19:22:38 +0200, AUGE_OHR wrote:
> hi,
>
>> change from full screen to window mode or vice versa. After that
>> InKey()function wait until I press any key like InKey(0).
>
> put a "small" value into INKEY(0.01) and you can use ALT-ENTER
> to switch between full/window.
>
> "general" in Xbase++ you shoud replace INKEY() with a "small" value
> greetings by OHR
> Jimmy
Thanks
Can you tell me minimal value to put into INKEY() because I use it
frequently and I don't want to slow down my application
Damir |
| AUGE_OHR | Re: InKey() problem
on Wed, 26 Jul 2006 15:50:23 +0200hi,
> > put a "small" value into INKEY(0.01) and you can use ALT-ENTER
> > to switch between full/window.
>
> Can you tell me minimal value to put into INKEY() because I use it
> frequently and I don't want to slow down my application
there is no general rule. i use INKEY(0.01) as "small" value.
greetings by OHR
Jimmy |
| Damir Hodak | Re: InKey() problem
on Fri, 04 Aug 2006 14:41:07 +0200On Wed, 26 Jul 2006 15:50:23 +0200, AUGE_OHR wrote:
> hi,
>
>>> put a "small" value into INKEY(0.01) and you can use ALT-ENTER
>>> to switch between full/window.
>>
>> Can you tell me minimal value to put into INKEY() because I use it
>> frequently and I don't want to slow down my application
>
> there is no general rule. i use INKEY(0.01) as "small" value.
>
> greetings by OHR
> Jimmy
Thanks Jimmy
I tested INKEY function with some "small" value and have found that the
"smallest" would be 0.001
Damir |