EDIT NEVERMIND - I need to pay attention more to whats already in there. All the functions I mention are already listed as properties. I just need to use them correctly.
I have an extension that inserts a button into the header of a parcel record. It inserts it on the right, between the name field and the lock/unlock record. This was easy enough doing it by hand in xml, but I was wondering how I might do it with RSW.
My handwritten xml code looks like this.
I understand I would need to set up the custom anchoring to use the "rightanchor" that already exists on the window. But how can I implement the "insertbefore=" bit on the buttoncontrol? Thats what allows it to insert between the two controls without having to touch or edit them at all. They automatically adjust around my button.Code:<windowclass name="parcel_header" merge="join">
<sheetdata>
<buttoncontrol name="idAll" insertbefore="name">
<anchored width="22" height="20">
<top offset = "5" />
<right parent="rightanchor" anchor="left" relation="relative" offset="0" />
</anchored>
........