Update of /cvsroot/pythoncard/PythonCard/docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22224/docs
Modified Files:
migration_guide.txt
Log Message:
added Alex's comments about functions that need to be changed to attributes
Index: migration_guide.txt
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/docs/migration_guide.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** migration_guide.txt 15 Aug 2004 18:06:49 -0000 1.3
--- migration_guide.txt 25 Aug 2004 17:49:16 -0000 1.4
***************
*** 52,55 ****
--- 52,56 ----
The Choice, ComboBox, List, RadioGroup components were updated to use 'selection' and 'stringSelection' attributes instead of mixed-capability 'selected' and 'selection' attributes. If you were using these attributes previously, you will have to update both your source and resource files.
+ The correct way to get the result of a selection now is to use either the attribute 'selection' to retrieve the integer index, or 'stringSelection' for the text value; if you previously used functions such as getSelection() or getSelectionIndex() or getStringSelection() these need to be changed to use the attributes directly.
mixedCase Method Names
|