Game Development Community

guiPopUpMenuCtrl problem

by Aditya Kulkarni · in Torque Game Builder · 02/03/2010 (9:27 am) · 1 replies

I added the control to my gui, but the popup opens waaay below the control. Also, the selected values are displayed below the control and not inside it. How do I fix that?

Question 2:
What is the difference between guiPopUpMenuCtrl and guiPopUpMenuCtrlEx? What is the hotTrackCallback for?

#1
02/04/2010 (1:52 am)
Ok i got the first problem solved. I have 6 records and have defined maxPopUpHeight as 2, but it still shows all the records instead of a scrollbar.

If I open the popup and populate the control from the console, the scrollbar displays just fine. When I close the popup and reopen it, again the whole list is displayed.

How do I make this work guys?