JiwaBadge foible  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

JiwaBadge foible

Postby neil.interactit » Tue Nov 03, 2015 5:27 pm

Hi guys,

I have a slight JiwaBadge issue ...
badge.png
badge.png (3.06 KiB) Viewed 4218 times


I have used a badge successfully elsewhere (added to a _Frame_0) ... in this case though, with the same constructor code, but added to an UltraGroupBox, I get the black corners.

I have tried tweaked various .Appearance properties, but have been unable to fix.

Could you steer me in the right direction?

Cheers,
Neil.
neil.interactit
Kohai
Kohai
 
Posts: 232
Joined: Wed Dec 03, 2014 2:36 pm
Topics Solved: 6

Re: JiwaBadge foible

Postby Mike.Sheen » Tue Nov 03, 2015 7:52 pm

This drives me nuts when I come across it also - and I can never remember what it is exactly which causes it!

I *think* it's the backcolor property of the parent / container control - it needs to be set to transparent.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: JiwaBadge foible

Postby neil.interactit » Wed Nov 04, 2015 9:49 am

Hi Mike,

I haven't been able to fix it ... I tried setting BackColor = Transparent right back up the chain with each successive parent ... still no luck. Any more ideas?

Cheers,
Neil
neil.interactit
Kohai
Kohai
 
Posts: 232
Joined: Wed Dec 03, 2014 2:36 pm
Topics Solved: 6

Re: JiwaBadge foible  Topic is solved

Postby Scott.Pearce » Wed Nov 04, 2015 10:04 am

"foible" - lol

Try placing the JiwaBadge on an (Infragistics) UltraPanel.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: JiwaBadge foible

Postby neil.interactit » Wed Nov 04, 2015 11:37 am

That nailed it ... thanks!

It was a combination of both approaches ... an UltraPanel as parent, with its BackColor transparent ...
Code: Select all
        _exceedsAuthorisedLimit = New JiwaBadge With { ... }
        Dim pnl1 = New UltraPanel With {.Dock = DockStyle.Fill, .Appearance = New Infragistics.Win.Appearance() With {.BackColor = Color.Transparent}}
        pnl1.ClientArea.Controls.AddRange(New Control() {polbl1, _authorisedBy, _exceedsAuthorisedLimit, _sendForAuthorisation, _isAuthorised})
        _purchaseOrderProcessing = New UltraGroupBox With { ... }
        _purchaseOrderProcessing.Controls.Add(pnl1)

Many thanks,
Neil
neil.interactit
Kohai
Kohai
 
Posts: 232
Joined: Wed Dec 03, 2014 2:36 pm
Topics Solved: 6


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 2 guests