Enhanced IDE control ordering

new topic     » topic index » view thread      » older message » newer message

I have a set of two controls, a label and a checkbox.  For now, assume the two
controls are not related by code in any way.  I want to "click" the label and
have it function as if it were a click of the checkbox.  No problem, using code
similar to:

myLabel_onClick(.....)
   myCheckbox_onClick(.....)

However, the IDE builds the exw file with the myLabel code before the myCheckbox
code and then complains that myCheckbox_onClick has not been declared. If I go
into the exw file and manually place the myCheckbox_onClick code before the
myLabel_onClick code, it works fine.

So I went into Generate Tools|Change control order for program and moved myLabel
well below myCheckbox.  The exw file is built in the same order, as if my manual
re-ordering has no effect.

The language at the top of the Control Order window says:

Use this window to establish the order of controls by window for the output
EX(W) file.  Order is order controls are on Window OR the last reordering by
user. Changing order does not alter the order of controls in Project View.

Well, how do I tell the computer that I really, really want it to be "the last
reordering by user" and not "order controls are on Window"?

I know a workaround is to put a routine in the General section and call it from
each of the two controls, but that would make my General section unmanageable by
the time I got done.

Thanks

Mike

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu