Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Property changing problems. (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: SelectColor Function
Next thread: [OT]Re: Custom Classes and Constructors


Getting ListBox Cell Left and Top   -   Rubber Chicken Software Co.
  Property changing problems.   -   Terry Ford
   Re: Property changing problems.   -   Norman Palardy
   Re: Property changing problems.   -   Terry Ford
   Re: Property changing problems.   -   William Shank
   Re: Property changing problems.   -   Terry Ford
   Re: Property changing problems.   -   jis
   Re: Property changing problems.   -   Joe Strout
   Re: Property changing problems.   -   Terry Ford
   Re: Property changing problems.   -   Norman Palardy
    Re: Property changing problems.   -   RPEHLM

Property changing problems.
Date: 09.08.09 00:10 (Sat, 8 Aug 2009 16:10:37 -0700)
From: Terry Ford
Hi all,

Is anyone, besides me, dissatisfied with the difficulty in changing
properties in Rb. This has been going on for years now. One must
continually resort to deleting the property, rebuilding it and then,
deleting the cache to get anything done.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Property changing problems.
Date: 09.08.09 17:22 (Sun, 9 Aug 2009 10:22:34 -0600)
From: Norman Palardy

On 9-Aug-09, at 12:13 AM, RPEHLM wrote:

> Norman,
>
> I get something vaugely similar every time when cutting a (non-
> string) property from a class or window and pasting to another class
> or window. For example, cutting the following from one window and
> pasting into another (Script is a module, scriptExecution is a class):
>
> se as Script.scriptExecution
>
> results in:
>
> se as Script.scriptExecution = 0
>
> Obviously the compiler will not like this and you have to go edit
> the property. Should a bug report be filed or is this a well known
> issue?

We're aware of that issue


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Property changing problems.
Date: 09.08.09 15:37 (Sun, 9 Aug 2009 07:37:22 -0700)
From: Terry Ford

On Aug 9, 2009, at 6:31 AM, William Shank wrote:

> On Sun, Aug 9, 2009 at 5:35 AM, Terry Ford <<email address removed>> wrote:
>
>> added a property as integer that was supposed to be boolean. When I
>> ran the
>> project, the compiler stopped when the mismatch was reached. I went
>> back and
>> changed it to Boolean and made sure I had it in the top line as
>> well as the
>> body of the properties frame. I then reran it several times.
>
> Are you pressing return after changing the type? I've noticed before
> that
> those fields revert back unless I press return to 'lock it in'. -w

I figure that I didn't do that the first time when it was created as
Integer. After the compiler error, I made certain that I had done that
for subsequent tries. One can tell it's NOT 'locked in' when the top
line is not the same as the entry boxes.

I tried deleting the property and creating a brand new one but that
didn't work. It was only after emptying the cache that it finally
worked.

My guess is that, on a subsequent run, the compiler only checks the
names to trap changes and not the data type or default value.

This was done to speed up debug builds for very large projects. When
2005 came out, it was one of the biggest complaints with some people
having to wait for minutes for each debug run to compile. Mine aren't
that big so I really don't notice any difference between a full
compile and an optimized one.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Property changing problems.
Date: 09.08.09 14:31 (Sun, 9 Aug 2009 06:31:17 -0700)
From: William Shank
On Sun, Aug 9, 2009 at 5:35 AM, Terry Ford <<email address removed>> wrote:

> added a property as integer that was supposed to be boolean. When I ran the
> project, the compiler stopped when the mismatch was reached. I went back and
> changed it to Boolean and made sure I had it in the top line as well as the
> body of the properties frame. I then reran it several times.

Are you pressing return after changing the type? I've noticed before that
those fields revert back unless I press return to 'lock it in'. -w
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Property changing problems.
Date: 09.08.09 13:35 (Sun, 9 Aug 2009 05:35:02 -0700)
From: Terry Ford

On Aug 8, 2009, at 8:33 PM, Joe Strout wrote:

> Terry Ford wrote:
>
>> Is anyone, besides me, dissatisfied with the difficulty in changing
>> properties in Rb. This has been going on for years now. One must
>> continually resort to deleting the property, rebuilding it and
>> then, deleting the cache to get anything done.
>
> I've never had to do that. What drives you to such lengths?

Most of the previous times have been to change default property values
but this last was a first for me.

I added a property as integer that was supposed to be boolean. When I
ran the project, the compiler stopped when the mismatch was reached. I
went back and changed it to Boolean and made sure I had it in the top
line as well as the body of the properties frame. I then reran it
several times.

Each time I ran it, I could see it change back to integer just before
the code editor blanked out. Finally, deleting the cache seem to stop
that.

It would be nice to have an Empty Cache Application menuitem such as
in Safari so I don't have to keep an alias to that folder handy.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Property changing problems.
Date: 09.08.09 08:52 (Sun, 9 Aug 2009 09:52:24 +0200)
From: jis
Another problem is that when copying or cutting a property and pasting
it at another place, always "= 0" is added, even to canvasses,
resulting in irritating syntax errors when running the debugger.

Johan

On 09/08/2009, at 5:33 AM, Joe Strout wrote:

> Terry Ford wrote:
>
>> Is anyone, besides me, dissatisfied with the difficulty in changing
>> properties in Rb. This has been going on for years now. One must
>> continually resort to deleting the property, rebuilding it and
>> then, deleting the cache to get anything done.
>
> I've never had to do that. What drives you to such lengths?
>
> Best,
> - Joe
>
> --
> Joe Strout
> Inspiring Applications, Inc.
> http://www.InspiringApps.com
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Property changing problems.
Date: 09.08.09 04:33 (Sat, 08 Aug 2009 21:33:24 -0600)
From: Joe Strout
Terry Ford wrote:

> Is anyone, besides me, dissatisfied with the difficulty in changing
> properties in Rb. This has been going on for years now. One must
> continually resort to deleting the property, rebuilding it and then,
> deleting the cache to get anything done.

I've never had to do that. What drives you to such lengths?

Best,
- Joe

Re: Property changing problems.
Date: 09.08.09 00:48 (Sat, 8 Aug 2009 16:48:59 -0700)
From: Terry Ford

On Aug 8, 2009, at 4:27 PM, Norman Palardy wrote:

>
> On 8-Aug-09, at 5:10 PM, Terry Ford wrote:
>
>> Hi all,
>>
>> Is anyone, besides me, dissatisfied with the difficulty in changing
>> properties in Rb. This has been going on for years now. One must
>> continually resort to deleting the property, rebuilding it and
>> then, deleting the cache to get anything done.
>
> I would be if I'd ever had to do that
> Got a case that can demonstrate the issue you have trouble with ?

That's really hard as it doesn't happen all of the time. It just seems
that when it does, it's a bit of a chore to fix. Nothing I haven't
been able to do but still frustrating.

Not a show stopper but a PITA.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Property changing problems.
Date: 09.08.09 00:27 (Sat, 8 Aug 2009 17:27:18 -0600)
From: Norman Palardy

On 8-Aug-09, at 5:10 PM, Terry Ford wrote:

> Hi all,
>
> Is anyone, besides me, dissatisfied with the difficulty in changing
> properties in Rb. This has been going on for years now. One must
> continually resort to deleting the property, rebuilding it and then,
> deleting the cache to get anything done.

I would be if I'd ever had to do that
Got a case that can demonstrate the issue you have trouble with ?

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Property changing problems.
Date: 09.08.09 07:13 (Sun, 09 Aug 2009 08:13:18 +0200)
From: RPEHLM
Norman,

I get something vaugely similar every time when cutting a (non-string)
property from a class or window and pasting to another class or window.
For example, cutting the following from one window and pasting into
another (Script is a module, scriptExecution is a class):

se as Script.scriptExecution

results in:

se as Script.scriptExecution = 0

Obviously the compiler will not like this and you have to go edit the
property. Should a bug report be filed or is this a well known issue?

Regards
Robin

Norman Palardy wrote:
>
> On 8-Aug-09, at 5:10 PM, Terry Ford wrote:
>
>> Hi all,
>>
>> Is anyone, besides me, dissatisfied with the difficulty in changing
>> properties in Rb. This has been going on for years now. One must
>> continually resort to deleting the property, rebuilding it and then,
>> deleting the cache to get anything done.
>
> I would be if I'd ever had to do that
> Got a case that can demonstrate the issue you have trouble with ?
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>