Link to home
Start Free TrialLog in
Avatar of sml41
sml41

asked on

pics

I am drawing bars in picture boxex representing data from the database. I have pic2 as container, and pic(1)... are the bars using load picture(i) loop where i is the number of items. it is working ok. when i delete one item, it is deleted from the tabble but the bar is still showing. i tried pic2.cls, .refresh no use, i need a way to refresh these bars and only show what is in the dbase. the worst scinario when the table is empty, i can not refresh till i quit the programme and reload it which is silly. so any one can help if i was understood!!

thanks
ASKER CERTIFIED SOLUTION
Avatar of Erick37
Erick37
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AnswerTheMan
AnswerTheMan

you can also switch the pictures BKG color. to hide- make th color as the container picture color. to Show - to some other color.
Or set the .Visible property False.
Avatar of Bob Learned
Set pic2.Picture = LoadPicture("")
Avatar of sml41

ASKER

a solution will work, but i have plenty of work to do there

thanks