VLF Changing Business Object Title Bar (RESOLVED)
VLF Changing Business Object Title Bar (RESOLVED)
I'm trying to set the VLF One Business Object Title Bar in the "Snap In" Reusable Part. The manual suggest using this logic "#Com_Owner.avHandlerCaption := 'My alternate caption'" Unfortunately, avHandlerCaption is not a member of the component VF_AC007O. Any suggestions?
Re: VLF Changing Business Object Title Bar
If the ancestor of your component is VF_AC007O, then you must be trying to set the caption from a Filter.
Would #Com_Owner.avTitleBarCaption do what you want?
Would #Com_Owner.avTitleBarCaption do what you want?
Re: VLF Changing Business Object Title Bar
Yes, I'm trying to dynamically change the captain from the filter for the business object. I'm trying to add commentary for the business object. Unfortunately, #Com_Owner.avTitleBarCaption changes the Application Title Bar.
Re: VLF Changing Business Object Title Bar
I'm guessing that what you want to do is change the title above the command handlers.
(The business object instance's title)
You could do that by setting #Com_Owner.avTitleCaption in a command handler - e.g. in the uExecute routine.
If it has to be done from the filter, then you could
a) put a value in an unused instance list column, and the command handler could read that during uExecute, and change #Com_Owner.avTitleCaption
b) avSignal from the filter that the title should be changed, and the command handlers could listen for the signal and change #Com_Owner.avTitleCaption
c) the filter could put a value on the VLF virtual clipboard, and the command handler uExecute routine could check for that and and change #Com_Owner.avTitleCaption
(The business object instance's title)
You could do that by setting #Com_Owner.avTitleCaption in a command handler - e.g. in the uExecute routine.
If it has to be done from the filter, then you could
a) put a value in an unused instance list column, and the command handler could read that during uExecute, and change #Com_Owner.avTitleCaption
b) avSignal from the filter that the title should be changed, and the command handlers could listen for the signal and change #Com_Owner.avTitleCaption
c) the filter could put a value on the VLF virtual clipboard, and the command handler uExecute routine could check for that and and change #Com_Owner.avTitleCaption
Re: VLF Changing Business Object Title Bar
#Com_Owner.avTitleCaption worked perfectly. Thank you so much!