Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How can the background of a listbox be set to non transparency

Avatar

Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
Level 2

25-06-2013

Good morning all.

I have a couple of listboxes on a form I am working on, and it works perfectly, however, each time it opens up, it is so transparent that you see other objects on the form through the items within the listboxes. It confuses the end-users on what the listed items are and which are the fields on the form.

I was just wondering if there is something or setting/script that will set the background such that it will act like that of the drop down list.

Thanks

v/r

Tammy

View Entire Topic

Avatar

Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
Level 2

26-06-2013

Good morning all.

I am sure I may have not explained myself well. I have the following code which when a drop down list is clicked opens a listbox with items. When these items are selected it passes values to the drop down list. This all work OK. However, the problem is that when this listbox becomes visible, the objects on the form are visible through the items.

Here is the code:

on Click event:

 

ListBox1.presence="visible";

xfa.host.openList(form1.Page1.ListBox1); 

ListBox1.h="3.50";

ListBox1.w="2.50";

On calculate event;

if(form1.Page1.ListBox1.selectedIndex=1){ 

DropDownList1.rawValue="D";

}

else if(ListBox1.rawValue==2){

DropDownList1.rawValue="J";

else if(ListBox1.rawValue==3){

DropDownList1.rawValue="Z";

}

else if(ListBox1.rawValue==4){

DropDownList1.rawValue="H";

}

I have just added a script of on enter event:

ListBox1.fillColor="255,255,255";

This has not helped.

Thanks

v/r

Tammy