DX1.5: BxAddReference means what?

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
DX1.5: BxAddReference means what?

Submitted by Anonymous on Thu, 05/10/2001 - 19:41. Developers
What does this word, function, type, statement mean?
I can`t find it in the index nor online.

Thanks, newdebugger

ICS_support

Oh, oh! I sort of remember this one. It has to do with building a hash-table for the objects. Fortunately, the code for the function is public and is part of the generated code. See the callbacks file for starters. (It isn`t intended that you`d need to call this function yourself; DX generates it so that the output code is more efficient.)

Anonymous

Thanks, dbl (are you Kenton Lee cyberincognito? -)
I couldn`t find any reference to hash-tables in the manuals.
I BXAddReference was also not mentionned in my callback file.

Thanks anyway!
Newdebugger

Anonymous

Despite the name this is a function which is only generated by DX.
This function is used becasue Certain widgets that Database Xcessory creates have resources which point to other widgets. When this happens you can either constrain the order inwhich the widgets are created so that they arnt referenced before they are created or you can track the name of the "soon to be" created widgets and the resources they will be asigned to. when the widgets are created the resources are resolved.
I hope that helps
jim