Listview will becomes empty when i disable it (1 Viewer)

atzdgreat

Member
Local time
Today, 12:41
Joined
Sep 5, 2019
Messages
32
hi all, may i know why my listview becomes empty when i disabled it.
enable
1712563303420.png

disable
1712563322994.png
 

bob fitz

AWF VIP
Local time
Today, 20:41
Joined
May 23, 2011
Messages
4,727
I don't think that is usual behavior.
What code are you using to disable listbox?
Can you post a copy of the db?
 

atzdgreat

Member
Local time
Today, 12:41
Joined
Sep 5, 2019
Messages
32
Hi @bob fitz thank you for your reply. i just used me.Listview3.enabled = false.
and the other issue that i encounter is whenever i enable it using me.listview3.enabled = true. the left position will become zero and top position will become zero.
 

bob fitz

AWF VIP
Local time
Today, 20:41
Joined
May 23, 2011
Messages
4,727
Strange behavior is often a symptom of corruption.
Perhaps delete the list box and recreate it or even replace the entire form.
I'm sure a search of the forum would give much advice on corruption.
 

atzdgreat

Member
Local time
Today, 12:41
Joined
Sep 5, 2019
Messages
32
So sorry. I misread that. I am unable to help with listview.
no worries. thank you.. by the way maybe you can help me out how can i change the fore color of the specific row in listbox?
 

Users who are viewing this thread

Top Bottom