M
mscertified
I have a tab control with several tabs containing memo fields. these fields
can be locked or unlocked. When I switch tabs, if a memo field is locked I
want to put the cursor at the top and if unlocked at the end. I tried the
following but it failed to work:
ctl.setfocus
if ctl.locked = true then
sendkeys "^{HOME}"
else
sendkeys "^{END}"
end if
can be locked or unlocked. When I switch tabs, if a memo field is locked I
want to put the cursor at the top and if unlocked at the end. I tried the
following but it failed to work:
ctl.setfocus
if ctl.locked = true then
sendkeys "^{HOME}"
else
sendkeys "^{END}"
end if