I am working on a business object for my client to work with product support call logs. The old filter I was using contained a field for the customer number and two buttons that affected how the business object performed. One button would populate the instance list with the matching customer from the search, and clicking on that instance would launch a command to view all previous call logs from that customer. The other would launch a new call log for that customer, bypassing the instance list altogether.
My client wants nothing to do with the instance list, so I have turned my filter into a mini filter. I removed the buttons and added a checkbox that affects which command to launch when the user presses enter on the customer field.
The taskbar that would display the mini filter currently displays a caption with the name of the current business object selected. Whenever I select my business object, I can only see a portion of my mini filter, about the same width as the caption that was previously there.
Where would I go to find this setting for the framework so I can show all of the mini filter or both the caption and the mini filter?
VLF-WIN Mini Filter
VLF-WIN Mini Filter
Theron Rossiter
Kawasaki Motors Manufacturing Corp., USA
Kawasaki Motors Manufacturing Corp., USA
Re: VLF-WIN Mini Filter
Have you had a look at shipped example DF_FILT9. It contains a panel called theMiniPanel, that can be sized according to your requirements (I think)
Re: VLF-WIN Mini Filter
Sorry I hadn't replied sooner. I got the mini filter to work by using #com_owner.avMiniFiltField1, avMiniFiltButton1 and avMiniFiltButton2 rather than using control components like I had in the previous version of LANSA.
Now my question is: Since the framework theme makes the buttons have white text against a light blue background which is very hard to read, is there a way to change the color of the buttons or of the caption on the buttons without changing the overall theme of the framework? If I were using control components, it would be simple. However, using #com_owner.avMiniFiltField1 and avMiniFiltButton1 makes it to where there are no components on my reusable part, and I can't seem to find an option to set for changing the color. I have tried changing the visual style of the entire reusable part, but that does nothing.
Now my question is: Since the framework theme makes the buttons have white text against a light blue background which is very hard to read, is there a way to change the color of the buttons or of the caption on the buttons without changing the overall theme of the framework? If I were using control components, it would be simple. However, using #com_owner.avMiniFiltField1 and avMiniFiltButton1 makes it to where there are no components on my reusable part, and I can't seem to find an option to set for changing the color. I have tried changing the visual style of the entire reusable part, but that does nothing.
Theron Rossiter
Kawasaki Motors Manufacturing Corp., USA
Kawasaki Motors Manufacturing Corp., USA
Re: VLF-WIN Mini Filter
I switched back to using control components, and somehow it's working correctly this time. I'm able to add a visual style to the buttons, and that is solving my problem.
Theron Rossiter
Kawasaki Motors Manufacturing Corp., USA
Kawasaki Motors Manufacturing Corp., USA