karikalanr
New Member
Dear All,
I have an issue in dynamic browser based on one sdo. Issue is that, If I am clicking vertical scroll-bar of dynamic browser, scrolling is not getting ended its going to top again to start from beginning. Where as, If I manually select one record in dynamic browser and choose vertical scroll bar. its working properly to stop scroll once its reach the End of recordset.
Here is the code sample which I have tried to fix:
Code-Segment:
if
if c_ip_enadis = "DISABLE":U then
assign c_w_query_pos = c_ip_enadis.
case c_w_query_pos :
when"FIRSTRECORD":U then
do:
h_w_brs_hdl:select-row(h_w_brs_hdl:get-repositioned-row()).
apply'mouse-select-click':u to h_w_brs_hdl.
end.
end.
I have an issue in dynamic browser based on one sdo. Issue is that, If I am clicking vertical scroll-bar of dynamic browser, scrolling is not getting ended its going to top again to start from beginning. Where as, If I manually select one record in dynamic browser and choose vertical scroll bar. its working properly to stop scroll once its reach the End of recordset.
Here is the code sample which I have tried to fix:
Code-Segment:
if
valid-handle(h_w_sdo) then
assign c_w_query_pos = dynamic-function("getQueryPosition":U in h_w_sdo). if c_ip_enadis = "DISABLE":U then
assign c_w_query_pos = c_ip_enadis.
case c_w_query_pos :
when"FIRSTRECORD":U then
do:
ifvalid-handle(h_w_brs_hdl) then
do:
do:
/* h_w_brs_hdl:selected = true. */
h_w_brs_hdl:select-focused-row().
h_w_brs_hdl:select-focused-row().
h_w_brs_hdl:select-row(h_w_brs_hdl:get-repositioned-row()).
apply'mouse-select-click':u to h_w_brs_hdl.
end.
end.
Could you please tell like 'mouse-select-click'/'mouse-select-dblclick', what are all the events applicable to browse handle?
Thanks in advance.
Regards,
Karikalan
Regards,
Karikalan