I have xDialog 1 which contains 3 external_record_content_get lists with 'owner draw' formatting.
When I double click on list 3 in Dialog 1, a function is called which opens Dialog 2. Changes made in Dialog 2 alters the formating of list 3 in Dialog 1.
Right now, after closing Dialog 2, I have to press a button on Dialog 1 called Refresh for the changes to take effect.
I was wondering if anyone had any ideas as how to somehow push the refresh button when closing the second Dialog so list 3 will be refreshed.
This is the function which formats the #3 list:
As you can see, I have images in list 3. After making changes in Dialog 2, the images change in Dialog 1, list 3.
When I double click on list 3 in Dialog 1, a function is called which opens Dialog 2. Changes made in Dialog 2 alters the formating of list 3 in Dialog 1.
Right now, after closing Dialog 2, I have to press a button on Dialog 1 called Refresh for the changes to take effect.
I was wondering if anyone had any ideas as how to somehow push the refresh button when closing the second Dialog so list 3 will be refreshed.
This is the function which formats the #3 list:
Code:
FUNCTION CA_List as C ( vTrans as C ) image1 = "{I:'A5_ball_green'}" image2 = "{I:'A5_ball_white'}" image3 = "{I:'$$generic.checked.off'}" image4 = "{I:'$$generic.checked.on'}" 'image5 = "{I:'A5_ball_blue'}" image5 = "{I:'$$generic.view'}" image6 = "{I:'A5_ball_white'}" auto_list_vcCA = table.external_record_content_get("wodesclabor_m_ca",\ "\" \"+If(TechInsp=.T.,"+quote(var->image4)+","+quote(var->image3)+")+\"|\"+If(SignOff=.T.,"+quote(var->image5)+","+quote(var->image6)+")+\"|\"+If(Posted=.t.,"+quote(var->image1)+","+quote(var->image2)+")+'|'+ 'Item: ' + Itemno + '|' + ' ' + left(Descrep,100) + '|' + '*&' + transno + swkno + '&*&' ",\ "Itemnorpt",\ "Transno="+s_quote(vTrans)) ca_list=auto_list_vcCA END FUNCTION
Comment