Subj : uifc issue
To   : mlong
From : Digital Man
Date : Fri Oct 16 2020 08:09 pm

 Re: uifc issue
 By: mlong to All on Fri Oct 16 2020 11:28 am

> Hey Digital Man,
>
> I am doing this:
>
>  selection2 = uifc.input(WIN_ORG | WIN_MID, "Input Key", item.input, 3,
> K_EDIT | K_GETSTR | K_UPPER);
>
> And if I type a lower case letter, it comes in as lower case. So is K_UPPER
> implemented in the uifc javascript library, and/or am I doing something
> wrong?

It works fine for me so long as "item.input" is not an undefined value.

> I'm just upper casing the input for now, but wanted to check about this

I suspect that you're passing an undefined value which is throwing off the argument parsing.

Also, not that it makes any difference, but K_GETSTR is not used in uifc.


                                           digital man

Sling Blade quote #10:
Morris: I stand on the hill, not for thrill, but for the breath of a fresh kill
Norco, CA WX: 80.0�F, 56.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net