kandy1984
10 years agoContributor
Need user action to Collapse a panel via vb script
Hi,
I need to collapse a panel (see attached). At the moment im recording the user action by keyword test and converting to Keyword test doesnt recgonise the little collapse button and clicks on the co-ordinates, which i dont want. In the object spy, there is a property called Collapsed - False. How do i use this in my script so that it minimizes the panel before doing other actions?
Sub Test3()
'Clicks at point (220, 15) of the 'khgMisc' object.
Call Aliases.PFU_3.frmReferenceInfo.kspltMain.kspltMain_Panel1.khgMisc.Collapsed("True")
End Sub
Thanks for helping :-)