Ask a Question

Need user action to Collapse a panel via vb script

kandy1984
Contributor

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 🙂

 

2 REPLIES 2
NisHera
Valued Contributor

check whether there is methoed/action like  Collapse(Item) or CollapseItem

Hi Nishera,

 

Thanks for ur response. There are some .NET Methods for collapse as attached . Which one do i use and how do i use it?

 

Thanks once again!

 

 

cancel
Showing results for 
Search instead for 
Did you mean: