Listbox Refresh issue

IllusionRay

Registered User.
Local time
Today, 16:35
Joined
Jan 9, 2018
Messages
15
Hey all!

I am having a weird issue, when i click on my listbox items it make some text label of my form duplicating over it self every time i click on the listbox, it look like if i set the font weight darker and darker on every click and i had the same issue with button once too.

The only way i find to fix it is to come back on a older DB backup file and losing hours of work in the process. it same to start after trying some code on beforeUpdate and afterUpdate event, i commented the added code and i still have the issue :(.

Is some one have seen this before? and can it be fixed?

sorry if i am not posting this at the right spot ill delete and repost it if needed.

ill attache some picture, thx for the help!
 

Attachments

  • ThirdClick.jpg
    ThirdClick.jpg
    93.6 KB · Views: 141
  • Firstclick.jpg
    Firstclick.jpg
    98.8 KB · Views: 133
what are the code on your listbox click event.
check in design view if the Label control's
Bounding box crosses another controls boundary.
 
Hi arnelgp thx for the reply,

The funny thing is there is no code on click event i dint put any there yet, the only thing that list have is the macro in AftherUpdate event to get the selected record. I deleted the list and made a new one but it dose the same thing lol, it only do that when i click the listbox and those label have nothing to do with this list no code or anything its really weird.

also compact and repair dint help at all too.
 

Attachments

  • ListEventProperty.jpg
    ListEventProperty.jpg
    101.9 KB · Views: 127
  • ListAUMacro.jpg
    ListAUMacro.jpg
    70.2 KB · Views: 119
The 2 screenshots in your first post look identical to me! What am I missing?

If you delete or disable your embedded macro does the action still occur?
If so, the trigger is elsewhere

Suggest you get rid of all embedded macros as they are difficult to keep track of. Use VBA event procedures instead
 
Hi ridders thx for taking time to post here.

You dint miss much they are almost the same the circled text on ThirdClick.jpg is darker.

i removed the data in DB to upload it so you guys will get a better view of the problem.

just open the form: Frm_Facturation click the list box and enjoy the weird bug ;)
 

Attachments

You've surround the fields in the subforms with an option group, replace the option group with a label and a rectangle.
 
Hmmm i am not sure if i should hide under my desk in shame :o or break my head on a wall :banghead: that was the most noob failure i did so far lol...

and i copy past it for all section of the form and dint even notice it...
i wonder why it dint break sooner tho.

its all fixed now a huge thx JHB you saved me a lot of work :) on my last backup this form was almost blank i wanted to cry.
 
You're welcome, good luck. :)
 

Users who are viewing this thread

Back
Top Bottom