Page 3 of 3

Re: cAPITAL lETTER pROBLEM

Posted: Fri Jul 20, 2018 7:59 am
by LiveCode_Panos
This is interesting. When I do

Code: Select all

on mouseUp
   set the caseSensitive to "true"
   
   set the "X" of btn 1 to "upper"
   set the "x" of btn 1 to "lower"
end mouseUp
and then open the Property Inspector of btn 1, the value of both properties seem to appear as "lower".

However, doing:

Code: Select all

set the caseSensitive to true;put the X of btn 1
--> "upper"

Code: Select all

set the caseSensitive to true;put the x of btn 1
--> "lower"

So it looks like the property inspector has a bug and cannot differentiate between x and X.

In fact after deleting the "x" from the property inspector, the displayed value of "X" was immediately updated to "upper"!

Best,
Panos
--

Re: cAPITAL lETTER pROBLEM

Posted: Fri Jul 20, 2018 1:02 pm
by dunbarx
Panos.

If you do spend time on this, please recreate the scenario I described above when setting the two props in the inspector itself. Mine simply deletes the second case in the middle of my trying to create it.

Craig

Re: cAPITAL lETTER pROBLEM

Posted: Fri Jul 20, 2018 1:11 pm
by LiveCode_Panos
Hello Craig,

I confirm what you describe. This might be a bug in the tree view widget (which is used in this section of the Property Inspector), rather than a bug in the inspector itself.

I will file a bug in the weekend.

Thanks for spotting this.

Best,
Panos
--

Re: cAPITAL lETTER pROBLEM

Posted: Fri Jul 20, 2018 4:21 pm
by bogs
Thank you for chiming back in Panos :D
Only a little playing around with this today, in the 6 and 7.x series, I had no problem creating custom props a and A in the property inspector, however, even with caseSensitive set to true, apparently changing one changed the other.

I also realized that I should probably have started the testing in the newer 8/9 x series :P but now I'm curious if this was always the case.