07-15-2005 09:56 AM
07-15-2005 10:26 AM
07-15-2005 10:39 AM
07-18-2005 04:38 PM
07-19-2005 07:48 AM - edited 07-19-2005 07:48 AM
I have a couple.
First, try changing using VAL_HOT in place of VAL_NORMAL when setting the control mode of the new string control. The following lines had been setting the control mode to normal:
Line 639:
FWCtrlMode = VAL_HOT;
Line 1240:
errChk( SetCtrlAttribute (panel, testSocketData->ctrls[kTSCtrl_FW],
ATTR_CTRL_MODE, VAL_HOT));
The next idea probably won’t make a difference, and it’s worth a shot. Try adding a line, to the initialize ctrls section of the MakeNewTestSocketCtrls function, to set the value of the new string control. That is, starting at line 352:
// initialize ctrls
sprintf(tmpNumBuf, "%d", testSocketIndex + 1);
errChk( SetCtrlVal (childPanel, newTestSocket->ctrls[kTSCtrl_TestSocketIndex],tmpNumBuf));
errChk( RecessFrame(childPanel, newTestSocket->ctrls[kTSCtrl_SerialNum]));
errChk( SetCtrlVal (childPanel, newTestSocket->ctrls[kTSCtrl_FW],""));
errChk( RecessFrame(childPanel, newTestSocket->ctrls[kTSCtrl_FW]));
I hope this helps.
Regards,
Eric M
Message Edited by Eric M on 07-19-2005 07:49 AM
07-19-2005 11:39 AM
Thanks Eric,
Those are both things I've tried with no success. I'll keep plugging away.
07-20-2005 09:40 AM
07-20-2005 10:44 AM
Good to know!
It was fine then to have the control mode of the string control getting set to VAL_NORMAL?
Thanks for the update.
Eric M.
07-20-2005 10:54 AM
07-20-2005 10:56 AM
Understood. Thanks for letting me know.
Regards,
Eric