03-05-2009 05:19 AM
I want the main panel of my application to resize automatically at start up depending on which hardware is connected.
Am I correct in believing the correct command for this is SetCtrlAttribute ? I'm having trouble trying to find which panel handle to pass though. The main panel has the default handle 'panelHandle' and the controlID PANEL. I've tried passing panelHandle and 0 as the arguments for the panel handle but in both cases I get non fatal runtime errors on execution. I have not edited the uir header file at all.
Thanks for any help.
Gareth
Solved! Go to Solution.
03-05-2009 06:50 AM
You need to use the SetPanelAttribute() function.
JR
03-05-2009 08:12 AM
Fantastic! Thanks! I'd convinced myself that it must have been the setctrlattribute function and I was using it wrong. Didn't realise there were functions just for controling the panel alone.
03-06-2009 03:40 AM