Rusty Well-Known Member Licensed User Longtime User Feb 16, 2019 #1 Is there a way to enable/disable a xCustomListView? I've tried CLV.asview.enabled = false; I've added the CLV to a panel and set it to false; I've even added a transparent panel over the CLV and set it to enabled = false and none of these work. Any advice is appreciated. Rusty
Is there a way to enable/disable a xCustomListView? I've tried CLV.asview.enabled = false; I've added the CLV to a panel and set it to false; I've even added a transparent panel over the CLV and set it to enabled = false and none of these work. Any advice is appreciated. Rusty
Eme Fibonacci Well-Known Member Licensed User Longtime User Feb 16, 2019 #2 You can use a transparent panel over the CLV. You need consume the event. Code: Copy Sub Panel1_Click Return True End Sub Upvote 0
You can use a transparent panel over the CLV. You need consume the event. Code: Copy Sub Panel1_Click Return True End Sub
Rusty Well-Known Member Licensed User Longtime User Feb 25, 2019 #3 how do you create a transparent panel? I've tried setting the panel to transparent in the designer and also explicitly in code and it always comes up white opaque... Code: Copy pnl.color = colors.transparent 'this doesn't work Is it possible that since the panel (pnl) is defined in the designer it can't be made transparent? Thanks Rusty Update: When I set the color to transparent immediately after loadlayout, it doesn't work later in the app when I display the otherwise visible=false panel. If I set the color to transparent after setting it to visible, it will work! Thanks Eme Last edited: Feb 25, 2019 Upvote 0
how do you create a transparent panel? I've tried setting the panel to transparent in the designer and also explicitly in code and it always comes up white opaque... Code: Copy pnl.color = colors.transparent 'this doesn't work Is it possible that since the panel (pnl) is defined in the designer it can't be made transparent? Thanks Rusty Update: When I set the color to transparent immediately after loadlayout, it doesn't work later in the app when I display the otherwise visible=false panel. If I set the color to transparent after setting it to visible, it will work! Thanks Eme
ocalle Active Member Licensed User Longtime User Feb 25, 2019 #4 you mean transparent or disabled (Invisible)? Upvote 0
Rusty Well-Known Member Licensed User Longtime User Feb 25, 2019 #5 Transparent... It needs to be enabled to create the click event and to be able to consume it. Rusty Upvote 0
klaus Expert Licensed User Longtime User Feb 25, 2019 #6 In the Designer you need to set not only the color to transparent but also set Alpha to 0. Upvote 0