On Sun, Jul 3, 2011 at 1:22 PM, <[email protected]> wrote:

> **
>  Ref Exercise04a - I had tried the change you made, and it worked fine,
> but many thanks for committing it.
>
> I think I'm confused because I thought you had said (several days ago)
> that previously-working RcDialogs - i.e ones that used symbolic IDs but of
> course without ~useGlobalConstDir - should *continue* to work.
>

I did say something similar to that, but I said dialogs that worked in 4.1.0
would continue to work to work in 4.2.0.  In 4.1.0, there are no menu
classes, so you can not have a working program in 4.1.0 that will run into
this problem.


>  Thus I was trying to get Exercise04a working again *without* using the
> GlobalConstDir. I now understand that that is not possible.  Please tell
> me I've got it straight now <grin>.
>
> If this is correct, then I have to change Chapter 4 to explain about
> .Application and its ~useGlobalConstDir method, which I'd have preferred
> not to do so early in the Guide.
>
>


The thing is, if you are going to use symbolic IDs in your example programs,
you need to explain how the process works.  Otherwise, people do not use
symbolic IDs because they do not understand them.  Or they try to use them
and their programs do not work, so they give up using them in frustration.

One approach would be to use numeric IDs in all the first simple programs.
Then when you introduce programs that have 10 or 15 or more resource IDs,
you can demonstrate how using symbolic IDs becomes necessary as applications
grow more complex.

If you only have a dialog with resource ID of 100 and 1 list-view control
with resource ID of 200 in your program, the need for using symbolic IDs is
not apparent.

--
Mark Miesfeld
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to