Button Opacity/Transparency?

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
harrisonje
New User
Posts: 2
Joined: Wed Aug 14, 2019 2:45 pm
First Name: John
Last Name: Harrison
Company Name: UPMC
State / Province: Pennsylvania
Country: United States
Contact:

Button Opacity/Transparency?

Post by harrisonje »

We have the need to select a area on a display that contains multiple fields and whitespace. We were thinking we could create a button over top of these fields and make it transparent so that a user could press anywhere in that area.

Is this the right approach? we could not make the button clear/transparent and still be over the fields, is there a way to do this?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Button Opacity/Transparency?

Post by Scott Klement »

I'm not sure what you mean by 'select' (mouse selection?) but it seems like the 'transparent button' technique might not work? I haven't tried it, but it feels like a lot could go wrong with that technique. What is the purpose of the button?

Why not use the 'onclick' event of the items in question?

Or, perhaps put them all in a layout, and use the onclick of the layout?
harrisonje
New User
Posts: 2
Joined: Wed Aug 14, 2019 2:45 pm
First Name: John
Last Name: Harrison
Company Name: UPMC
State / Province: Pennsylvania
Country: United States
Contact:

Re: Button Opacity/Transparency?

Post by harrisonje »

sorry for the button analogy -- it was a conceptual idea. We have a program that someone wrote that mimicked a subfile, down to the previous/next buttons, but wasn't. So we have four records on a screen that look exactly like a subfile, but none of the command/control words and wanted to be able to press anywhere on the 4 2 line records on the screen and be able to get the 'record' number.

Thanks for for direction, I think Simple container layout widget is what I was thinking and we were getting stuck on the idea if you press something, it must be a button.

thanks for the guidance
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Button Opacity/Transparency?

Post by Scott Klement »

no problem, good luck!
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest