03-23-2006 03:51 PM
03-23-2006 04:11 PM
It looks like you are using both a UIR and the code generated by the tool that converts UIRs to source code. You should do one or the other, not both.
If there is no problem using .UIR files, you should not turn them into source code because maintainence is easier in UIR form. Perhaps you were trying to generate the callback function stubs for the UIR and selected the feature to turn it into code by mistake?
03-24-2006 06:09 AM
03-24-2006 10:49 AM
03-24-2006 11:53 AM
03-24-2006 12:12 PM
03-24-2006 12:18 PM
03-24-2006 12:35 PM - edited 03-24-2006 12:35 PM
LoadPanelEx is for loading a panel from a UIR file. All the attributes are set and all controls are created as specified in the UIR.
NewPanel is for creating a panel purely from code. Your code must make a lot of calls to set all the attributes and create all the controls.
The Tools>>UI to Code Converter item takes a UIR file and converts it all to code consisting of NewPanel, NewControl, and SetAttribute calls. This code might be harder to edit than editing the UIR itself because you don't see the UI the code creates until you run it.
Message Edited by James Grey on 03-24-2006 12:36 PM
Message Edited by James Grey on 03-24-2006 12:36 PM