Radio button value converts to lower case?!? (OpenInsight Specific)
At 29 OCT 1997 11:00:34AM Nick Stevenson wrote:
Here's a real weirdy! I place a radio button on a non-database aware form. I give it two options. One of the options return value is "DEBTORS" (in upper case). When I get the VALUE property of the radio button it comes back as "Debtors" - name-capped! Any other value works fine (DEBTORT, DEBTOR, etc). I do have a table in the database called "DEBTORS", but it is in no way connected to the form. I try giving the value the name of another table in the database, but it works fine. I am using OI3.4.
At 29 OCT 1997 12:46PM Tracy Graves wrote:
That's a pretty quirky thing. I tried it, returning my radio button values into a TEXT control, and the values remained all uppercase. I tried it with the name of one of my tables, as well as arbitrary values. The only difference is I'm using the 3.5 pre-release.
Do you just check it in the debugger, or is it writing out to a control?
At 29 OCT 1997 01:55PM Andrew P McAuley wrote:
You'll probably have a menu item called "Debtors" or somesuch - this is a problem with the way Windows stores atom string values. Apparently the lab have fixed this in later versions of OI but I haven't confirmed it - just worked around it.
amcauley@sprezzatura.com
World Leaders in all things RevSoft (Except VIP)
At 31 OCT 1997 06:28AM Nick Stevenson wrote:
I use:
Val=Get_Property(@Window:".RADIO_1","VALUE")
A debug screen shows that the value that is returned is in lower case. Andrew has a
somewhat technical answer for the problem - however, and I think the answer is to
code around it.
Thanks.